Linode Forum
https://forum.linode.com/

Fail2Ban Errors
https://forum.linode.com/viewtopic.php?f=19&t=5409
Page 1 of 1

Author:  jaythebull [ Tue Apr 06, 2010 2:18 pm ]
Post subject:  Fail2Ban Errors

I am seeing these errors more frequently in the fail2ban.log This is a new setup - Ubuntu 8.04. No LAMP stack installed.

fail2ban.actions.action: ERROR iptables -n -L INPUT | grep -q fail2ban-ssh returned 100

fail2ban.actions.action: CRITICAL Unable to restore environment

Author:  jaythebull [ Tue Apr 06, 2010 4:50 pm ]
Post subject: 

I think I found part of the problem. It didn't look like IPTABLES was installed. Is it not installed as part of the package in Ubuntu 8.04?

when I issued the command iptables -L

I got back:
-bash: iptables: command not found

I ran:
apt-get install iptables

Then restarted Fail2Ban - I'll see if that clears up my fail2ban.log

Author:  Guspaz [ Wed Apr 07, 2010 4:09 pm ]
Post subject: 

It's recommended, not required:

http://packages.ubuntu.com/hardy/fail2ban

It looks like it was required in dapper (7.10), but changed to recommended in 8.04 and all later releases.

Author:  jaythebull [ Wed Apr 07, 2010 4:12 pm ]
Post subject: 

Thanks Guspaz. It (iptables) eliminated the errors I was seeing in the log for fail2ban.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/