[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:43:25 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:                     assigned
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-21 17:31 CDT
Last Modified:              2009-05-15 17:43 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0104866) svnbot (reporter) - 2009-05-15 17:43
 https://issues.asterisk.org/view.php?id=14717#c104866 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 194873

U   branches/1.4/channels/chan_iax2.c

------------------------------------------------------------------------
r194873 | dvossel | 2009-05-15 17:43:22 -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=194873 

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




More information about the asterisk-bugs mailing list