Hi folks, <div><br></div><div>I installed fail2ban CentOS 5.5. And i followed the wiki instructions to configure fail2ban with FreeSWITCH. After i edit jail.conf with this config:</div><div><br></div><div><div>[freeswitch-tcp]</div>
<div><br></div><div>enabled = true</div><div>port = 5060,5061,5080,5081</div><div>protocol = tcp</div><div>filter = freeswitch</div><div>logpath = /usr/local/freeswitch/log/freeswitch.log</div><div><br></div><div>
[freeswitch-udp]</div><div><br></div><div>enabled = true</div><div>port = 5060,5061,5080,5081</div><div>protocol = udp</div><div>filter = freeswitch</div><div>logpath = /usr/local/freeswitch/log/freeswitch.log</div>
<div>######</div><div><br></div><div>The fail2ban does not start, and the logs can not get anything.. Did anyone have the same thing?</div><div><br></div><div>The freeswtich.conf:</div><div><br></div><div><div># Fail2Ban configuration file</div>
<div>#</div><div># Author: Rupa SChomaker</div><div>#</div><div><br></div><div>[Definition]</div><div><br></div><div># Option: failregex</div><div># Notes.: regex to match the password failures messages in the logfile. The</div>
<div># host must be matched by a group named "host". The tag "<HOST>" can</div><div># be used for standard IP/hostname matching and is only an alias for</div><div># (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)</div>
<div># Values: TEXT</div><div>#</div><div>failregex = \[WARNING\] sofia_reg.c:\d+ SIP auth failure \(REGISTER\) on sofia profile \'\w+\' for \[.*\] from ip <HOST></div><div><br></div><div># Option: ignoreregex</div>
<div># Notes.: regex to ignore. If this regex matches, the line is ignored.</div><div># Values: TEXT</div><div>#</div><div>ignoreregex =</div></div><div><br></div><div><br></div><div>Thanks</div><br>-- <br>Javier Aristizábal<br>
<br>
</div>