[Freeswitch-users] can i make all log from console have date stamp
dwiyulianto.anto at gmail.com
Wed Apr 2 14:02:43 MSD 2014
i try ssh dos and that give log in tport. but log about tport tls didnt
have any data/time stamp.
maybe if i can make that log into date/time stamp i can make regex for
fail2ban to find log when attacker give new connection in tls eventually.
am i need to change in tport_type_tls.c in line about SU_DEBUG_5 that have
part with "new connection from " and change that with switch_log_printf.
but actually i dont really understand about C. so how i can change that
On Wed, Apr 2, 2014 at 3:35 PM, Steven Ayre <steveayre at gmail.com> wrote:
> Sofia stack logging is extremely verbose, far more so than you want to run
> in production. Doing so will likely hurt the performance of your system due
> to too much disk I/o
> What're you looking to capture?
> FS already has log messages for auth failures for fail2ban to match
> On Tuesday, April 1, 2014, dwi yulianto <dwiyulianto.anto at gmail.com>
>> i wanna make log from tport.c in console or in log file with date stamp,
>> so i can use it for fail2ban.
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users