[Freeswitch-users] Confusing SIP auth failure logging message?
Simon J Mudd
sjmudd at pobox.com
Mon Feb 7 23:31:47 MSK 2011
msc at freeswitch.org (Michael Collins) writes:
...
> No. This is just saying that there was a challenge, not that there was a
> failure. There is already a failure detection routine. To test it, setup a
> SIP client with an incorrect password. You'll see two log lines like this:
>
> 2011-02-07 12:23:28.490029 [WARNING] sofia_reg.c:1247 SIP auth challenge
> (REGISTER) on sofia profile 'internal' for [1002 at 10.10.16.161] from ip
> 10.10.16.161
> 2011-02-07 12:23:29.035950 [WARNING] sofia_reg.c:1247 SIP auth challenge
> (REGISTER) on sofia profile 'internal' for [1002 at 10.10.16.161] from ip
> 10.10.16.161
> 2011-02-07 12:23:29.240695 [WARNING] sofia_reg.c:1205 SIP auth failure
> (REGISTER) on sofia profile 'internal' for [1002 at 10.10.16.161] from ip
> 10.10.16.161
>
> This allows you to differentiate between the mere fact that an auth
> challenge was sent to the SIP client vs. the SIP client failing to auth.
> (Someone asked for that differentiation a while back - I don't know who or
> why...)
Thanks for the clarification. I must have missed the other message.
Having both makes sense for example if used with fail2ban.
Simon
More information about the FreeSWITCH-users
mailing list