You can't. It's the underlying sip stack. It doesn't link against libfreeswitch so that function is not available On Wednesday, April 2, 2014, dwi yulianto <dwiyulianto.anto@gmail.com> wrote:
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 with switch_log_printf?
Thanks
On Wed, Apr 2, 2014 at 3:35 PM, Steven Ayre <steveayre@gmail.com<javascript:_e(%7B%7D,'cvml','steveayre@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@gmail.com<javascript:_e(%7B%7D,'cvml','dwiyulianto.anto@gmail.com');>> wrote:
i wanna make log from tport.c in console or in log file with date stamp, so i can use it for fail2ban.
thanks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<javascript:_e(%7B%7D,'cvml','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