Hi,
I was running fail2ban now for about one year. Suddenly it stopped
working. Does anyone know what could be a reason?
I tried to restart it but the same. I tried to stop iptables and
than stop fail2ban, that start fail2ban. In log everything is fine.
[root@fs1 log]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-freeswitch-tcp all -- anywhere
anywhere
fail2ban-freeswitch-udp all -- anywhere
anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-freeswitch-tcp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-udp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
[root@fs1 log]#
2012-10-19 14:59:46,009 fail2ban.server : INFO Changed
logging target to /var/log/fail2ban.log for Fail2ban v0.8.4
2012-10-19 14:59:46,010 fail2ban.jail : INFO Creating new jail
'freeswitch-udp'
2012-10-19 14:59:46,011 fail2ban.jail : INFO Jail
'freeswitch-udp' uses Gamin
2012-10-19 14:59:46,026 fail2ban.filter : INFO Added logfile =
/usr/local/freeswitch/log/freeswitch.log
2012-10-19 14:59:46,026 fail2ban.filter : INFO Set maxRetry = 3
2012-10-19 14:59:46,027 fail2ban.filter : INFO Set findtime =
600
2012-10-19 14:59:46,028 fail2ban.actions: INFO Set banTime = 600
2012-10-19 14:59:46,038 fail2ban.jail : INFO Creating new jail
'freeswitch-tcp'
2012-10-19 14:59:46,038 fail2ban.jail : INFO Jail
'freeswitch-tcp' uses Gamin
2012-10-19 14:59:46,039 fail2ban.filter : INFO Added logfile =
/usr/local/freeswitch/log/freeswitch.log
2012-10-19 14:59:46,039 fail2ban.filter : INFO Set maxRetry = 3
2012-10-19 14:59:46,040 fail2ban.filter : INFO Set findtime =
600
2012-10-19 14:59:46,041 fail2ban.actions: INFO Set banTime = 600
2012-10-19 14:59:46,051 fail2ban.jail : INFO Jail
'freeswitch-udp' started
2012-10-19 14:59:46,054 fail2ban.jail : INFO Jail
'freeswitch-tcp' started
2012-10-19 15:06:10,585 fail2ban.filter : INFO Log rotation
detected for /usr/local/freeswitch/log/freeswitch.log
2012-10-19 15:06:10,608 fail2ban.filter : INFO Log rotation
detected for /usr/local/freeswitch/log/freeswitch.log
I tried with wrong pass but fail2ban does not ban ip (I also look in
white liste, but there is no problem).
Thanks!
Miha