[asterisk-bugs] [Asterisk 0014025]: sip register: reserved character check not RFC 3261 compliant

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 10:23:19 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14025 
====================================================================== 
Reported By:                ffs
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   14025
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 161411 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-05 12:36 CST
Last Modified:              2008-12-10 10:23 CST
====================================================================== 
Summary:                    sip register: reserved character check not RFC 3261
compliant
Description: 
The checking of reserved characters within chan_sip.c is not RFC 3261
compliant.

According to the RFC there are different reserved characters for username
(* auth user), user (* username), password (* secret) and hostname (see
below).
chan_sip compares all above values against the SIP_RESERVED variable which
is defined as ";/?:@&=+$,# ".

This bug avoids registration to sip providers using allowed special
characters within the user part or the authentication user (eg.
bluesip.net, they use a '/' wihtin the auth user).

A backport to the 1.6.0 branch, which is affected also, would be great.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013329 Outgoing Proxy on SIP Register
related to          0013783 [patch] Cannot register with sip provid...
====================================================================== 

---------------------------------------------------------------------- 
 (0096092) putnopvut (administrator) - 2008-12-10 10:23
 http://bugs.digium.com/view.php?id=14025#c96092 
---------------------------------------------------------------------- 
This was introduced because of the fix for issue
http://bugs.digium.com/view.php?id=13570. That issue
probably affected maybe about 3 people total, and since the fix for it is
now breaking SIP registrations for lots of people, I am going to revert
that change and re-open issue http://bugs.digium.com/view.php?id=13570 instead. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 10:23 putnopvut      Note Added: 0096092                          
======================================================================




More information about the asterisk-bugs mailing list