[asterisk-bugs] [Asterisk 0014717]: [patch] chan_iax2 reports endless if a peer cannot be registered (>100 logs/sec)

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 15 17:47:05 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14717 
====================================================================== 
Reported By:                mobeck
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   14717
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-21 17:31 CDT
Last Modified:              2009-05-15 17:47 CDT
====================================================================== 
Summary:                    [patch] chan_iax2 reports endless if a peer cannot
be registered (>100 logs/sec)
Description: 
New installation of the last release (sample configs) including dahdi under
Debian Etch.
Already installed local peer (iaxmodem), but still no entries in
iax.conf/users.conf.

I receive the following errors:
 chan_iax2.c:XXXX register_verify: No registration for peer 'iaxmodem'
(from 127.0.0.1). Normally this error/info should be ok.

But the log (messages) and the console are showing hundreds of entries per
second.
Log size is within minutes > 100MB.
====================================================================== 

---------------------------------------------------------------------- 
 (0104872) svnbot (reporter) - 2009-05-15 17:47
 https://issues.asterisk.org/view.php?id=14717#c104872 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 194876

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_iax2.c

------------------------------------------------------------------------
r194876 | dvossel | 2009-05-15 17:47:03 -0500 (Fri, 15 May 2009) | 30
lines

Merged revisions 194874 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194874 | dvossel | 2009-05-15 17:44:44 -0500 (Fri, 15 May 2009) | 23
lines
  
  Merged revisions 194873 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r194873 | dvossel | 2009-05-15 17:43:13 -0500 (Fri, 15 May 2009) | 17
lines
    
    IAX2 REGAUTH loop
    
    IAX was not sending REGREJ to terminate invalid registrations. 
Instead it sent another REGAUTH if the authentication challenge failed. 
This caused a loop of REGREQ and REGAUTH frames.
    
    (Related to Security fix AST-2009-001)
    
    (closes issue https://issues.asterisk.org/view.php?id=14867)
    Reported by: aragon
    Tested by: dvossel
    
    (closes issue https://issues.asterisk.org/view.php?id=14717)
    Reported by: mobeck
    Patches:
          regauth_loop_update_patch.diff uploaded by dvossel (license 671)
    Tested by: dvossel
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=194876 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-15 17:47 svnbot         Checkin                                      
2009-05-15 17:47 svnbot         Note Added: 0104872                          
======================================================================




More information about the asterisk-bugs mailing list