Hello,
In the case above, challenge is included in the regexp (challenge|failure)
011-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
If, as is suggested in the issue report, what is being sought is to prevent flooding, i guess there's a maxretry param somewhere?
Thanks!
David
(davidcsi)
We don't include the challenge in the regex, just the failure, so we only ban on multiple failures. The challenge is normal registration behaviour. For genuine customers the challenges won't fail and they won't get banned.On 13 September 2016 at 02:33, jungle Boogie <jungleboogie0@gmail.com> wrote:On 12 September 2016 at 09:09, Don Hawkins <hawkins@hawkinsegroup.com> wrote:
> I'm actually starting to notice a problem with fail2ban, maybe someone can
> help me.
Not really a problem as fail2ban is working as expected--just not in a
very friendly way. ;)
I've seen this happen and usually I delete the line from fail2ban, but
I don't know how folks manage it for customers.
A few weeks back, I came across this issue on fail2ban's github page:
https://github.com/fail2ban/fail2ban/issues/1500
That pretty much explains your problem.
--
-------
inum: 883510009027723
sip: jungleboogie@sip2sip.info
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--_________________________________________________________________________David WithamSenior Voice/Systems EngineerNetsip pty ltd – An Over the Wire Company
Level 1, 24 Little Edward St, Spring Hill QLD 4000t +61 1300 638 747e david.witham@netsip.com.au www.netsip.com.au
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org