[asterisk-bugs] [Asterisk 0014867]: IAX2 failed registration notices are spamming the CLI until /var/log/asterisk/messages file fills hard drive 100%

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 9 02:19:35 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14867 
====================================================================== 
Reported By:                aragon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14867
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
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-04-09 00:42 CDT
Last Modified:              2009-04-09 02:19 CDT
====================================================================== 
Summary:                    IAX2 failed registration notices are spamming the
CLI until /var/log/asterisk/messages file fills hard drive 100%
Description: 
The CLI is getting spammed with tonnes of this stuff in the CLI since
upgrading to Asterisk 1.4.24.1
The CLI is now completely useless if a IAX2 friend is deleted and the
remote keeps trying to authenticate.
Eventually drive will fill and Asterisk will fail because
/var/log/asterisk/messages file will consume drive very quickly.
This was not an issue in 1.4.23

Getting tonnes of these messages if remote friend fails authentication

[Apr 9 01:20:18] NOTICE[24061]: chan_iax2.c:5753 register_verify: Host
x.x.x.x failed MD5 authentication for 'friend'
(848b0a7791266fe45e26718bf5d4374f != 2ff7a17c272b51c08c2ded94a6952b96)
[Apr 9 01:20:19] NOTICE[24061]: chan_iax2.c:5753 register_verify: Host
x.x.x.x failed MD5 authentication for 'friend'
(cc94d7df8db98552a4641d4df9a2de93 != 98d89984d389d6a9f3ae412e0b677b98)

Getting tonnes of these messages if I delete the friend
[Apr 9 01:22:20] NOTICE[24066]: chan_iax2.c:5686 register_verify: No
registration for peer 'friend' (from x.x.x.x)
[Apr 9 01:22:20] NOTICE[24062]: chan_iax2.c:5686 register_verify: No
registration for peer 'friend' (from x.x.x.x)
[Apr 9 01:22:20] NOTICE[24069]: chan_iax2.c:5686 register_verify: No
registration for peer 'friend' (from x.x.x.x)
[Apr 9 01:22:20] NOTICE[24067]: chan_iax2.c:5686 register_verify: No
registration for peer 'friend' (from x.x.x.x)
[Apr 9 01:22:20] NOTICE[24061]: chan_iax2.c:5686 register_verify: No
registration for peer 'friend' (from x.x.x.x)
====================================================================== 

---------------------------------------------------------------------- 
 (0102978) aragon (reporter) - 2009-04-09 02:19
 http://bugs.digium.com/view.php?id=14867#c102978 
---------------------------------------------------------------------- 
OK that suppressed all of the notices
But now I don't get any warning that a remote IAX2 friend is trying to
authenticate with an invalid password...

How can I suppress the millions of notices and still some receive notice
that someone is trying to register an account?

this is my iax.conf general config

[general]
context         =  default-incoming-guest
enabled         =  yes
port            =  4569
bindaddr        =  0.0.0.0
allowfwdownload =  no
delayreject     =  1
trunkfreq       =  20
jitterbuffer    =  yes
dropcount       =  1
maxjitterbuffer =  500
minexcessbuffer =  10
maxexcessbuffer =  80
bandwidth       =  high
tos             =  ef
minregexpire    =  60
maxregexpire    =  3600
iaxthreadcount  =  10
maxiaxthreadcount =  250
authdebug=0 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-09 02:19 aragon         Note Added: 0102978                          
======================================================================




More information about the asterisk-bugs mailing list