You can handle this w/ freeswitch with the wrong_call_state messages.  No need to use a proxy to catch these.

On Mar 1, 2017, at 8:59 AM, Sergey Safarov <s.safarov@gmail.com> wrote:

In this case is required to route register messages via kamailio and filter or log bad requests.
As criteria may be used register domain equal IP address.
And high rate of register messages.


ср, 1 мар. 2017 г. в 15:53, David Villasmil <david.villasmil.work@gmail.com>:
Hello,

Thanks for your reply. I already use fail2ban to block IPs that FAIL to register, this means there's a response to a challenge with a bad password hash.
But in my case there's no response.

There's an INVITE and fs responds with 407, but the attacker never answers that challenge, so there's no log of a failure that can be used to block the ip.

I don't see a feature where this can be done specifically. Can you please explain?

Thanks a lot.

David
On Wed, Mar 1, 2017 at 5:20 AM Sergey Safarov <s.safarov@gmail.com> wrote:

This may be done using fail2ban and mod_fail2ban


ср, 1 марта 2017, 5:19 David Villasmil <david.villasmil.work@gmail.com>:
Hello all,

Anyone knows of a way to block unanswered challenges?



Regards,

David Villasmil
ᐧ
_________________________________________________________________________
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
_________________________________________________________________________
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
_________________________________________________________________________
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