[Freeswitch-users] Trouble to start fail2ban

Javier Aristizábal javieraristizabal at gmail.com
Fri Oct 15 10:55:54 PDT 2010


Hi folks,

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:

[freeswitch-tcp]

enabled  = true
port     = 5060,5061,5080,5081
protocol = tcp
filter   = freeswitch
logpath  = /usr/local/freeswitch/log/freeswitch.log

[freeswitch-udp]

enabled  = true
port     = 5060,5061,5080,5081
protocol = udp
filter   = freeswitch
logpath  = /usr/local/freeswitch/log/freeswitch.log
######

The fail2ban does not start, and the logs can not get anything.. Did anyone
have the same thing?

The freeswtich.conf:

# Fail2Ban configuration file
#
# Author: Rupa SChomaker
#

[Definition]

# Option:  failregex
# Notes.:  regex to match the password failures messages in the logfile. The
#          host must be matched by a group named "host". The tag "<HOST>"
can
#          be used for standard IP/hostname matching and is only an alias
for
#          (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
# Values:  TEXT
#
failregex = \[WARNING\] sofia_reg.c:\d+ SIP auth failure \(REGISTER\) on
sofia profile \'\w+\' for \[.*\] from ip <HOST>

# Option:  ignoreregex
# Notes.:  regex to ignore. If this regex matches, the line is ignored.
# Values:  TEXT
#
ignoreregex =


Thanks

-- 
Javier Aristizábal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101015/64f726a7/attachment-0001.html 


More information about the FreeSWITCH-users mailing list