From: Aniyan R. <ani...@gm...> - 2013-05-21 13:38:33
|
Hello, I am getting the following error in the log, when I start fail2ban. I tried the solution in this url<http://www.fail2ban.org/wiki/index.php/Fail2ban_talk:Community_Portal#fail2ban.actions.action_ERROR_on_startup.2Frestart>, but doesn't work. I am using Debian/squeeze. I have the following in iptables-multiport.conf. Please help. Thanks. actionstart = iptables -N fail2ban-<name> iptables -A fail2ban-<name> -j RETURN iptables -I INPUT -p <protocol> -m multiport --dports <port> -j fail2ban-<name> cat /etc/fail2ban/ip.blacklist | while read IP; do iptables -I fail2ban-<name> 1 -s $IP -j DROP; done Error follows: -------------------- 2013-05-21 13:29:37,910 fail2ban.actions.action: ERROR iptables -N fail2ban-ssh iptables -A fail2ban-ssh -j RETURN iptables -I INPUT -p tcp -m multiport --dports ssh -j fail2ban-ssh cat /etc/fail2ban/ip.blacklist | while read IP; do iptables -I fail2ban-ssh 1 -s $IP -j DROP; done returned 200 2013-05-21 13:29:37,918 fail2ban.actions.action: ERROR iptables -N fail2ban-postfix iptables -A fail2ban-postfix -j RETURN iptables -I INPUT -p tcp -m multiport --dports smtp,ssmtp -j fail2ban-postfix cat /etc/fail2ban/ip.blacklist | while read IP; do iptables -I fail2ban-postfix 1 -s $IP -j DROP; done returned 200 2013-05-21 13:29:37,924 fail2ban.actions.action: ERROR iptables -N fail2ban-apache iptables -A fail2ban-apache -j RETURN iptables -I INPUT -p tcp -m multiport --dports http,https -j fail2ban-apache cat /etc/fail2ban/ip.blacklist | while read IP; do iptables -I fail2ban-apache 1 -s $IP -j DROP; done returned 200 |