Generate a custom log alert on failed SIP Registration
Hi Guys Wondering if it is possible, and if so how, to create a custom log ALERT entry on a failed SIP Registration? Basically I want to output an ALERT to the log file with “Auth Failed ${ip of register} I want to drop logging level down to Alert as this is going to be a high volume SBC, but I want to be able to use fail2ban to block on failed registers. Any help would be much appreciated. Regards
mod_fail2ban? https://freeswitch.org/confluence/display/FREESWITCH/mod_fail2ban On Sat, Jul 8, 2017 at 11:00 AM, Joseph Waite <joelists@tm.net.uk> wrote:
Hi Guys
Wondering if it is possible, and if so how, to create a custom log ALERT entry on a failed SIP Registration?
Basically I want to output an ALERT to the log file with “Auth Failed ${ip of register}
I want to drop logging level down to Alert as this is going to be a high volume SBC, but I want to be able to use fail2ban to block on failed registers.
Any help would be much appreciated.
Regards _________________________________________________________________________ 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
participants (2)
-
Joel Serrano
-
Joseph Waite