LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 07-24-2010, 05:58 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
fail2ban log errors for ssh jail


Hello all,

There is a server where fail2ban is installed. I can see the error in the log files repeatedly and do not know this is. Any help?

Code:
2010-07-13 10:39:49,966 fail2ban.jail   : INFO   Jail 'ssh-iptables' started
2010-07-13 10:55:41,550 fail2ban.actions.action: ERROR  iptables -D INPUT -p tcp --dport ssh -j fail2ban-SSH
iptables -F fail2ban-SSH
iptables -X fail2ban-SSH returned 100
2010-07-13 10:55:41,829 fail2ban.jail   : INFO   Jail 'ssh-iptables' stopped
2010-07-13 10:57:45,656 fail2ban.server : INFO   Changed logging target to /var/log/fail2ban.log for Fail2ban v0.8.3
2010-07-13 10:57:45,665 fail2ban.jail   : INFO   Creating new jail 'ssh-iptables'
2010-07-13 10:57:45,695 fail2ban.jail   : INFO   Jail 'ssh-iptables' uses Gamin
2010-07-13 10:57:45,780 fail2ban.filter : INFO   Added logfile = /var/log/secure
2010-07-13 10:57:45,781 fail2ban.filter : INFO   Set maxRetry = 5
2010-07-13 10:57:45,782 fail2ban.filter : INFO   Set findtime = 600
2010-07-13 10:57:45,783 fail2ban.actions: INFO   Set banTime = 600
2010-07-13 10:57:45,832 fail2ban.jail   : INFO   Jail 'ssh-iptables' started
2010-07-14 10:17:12,593 fail2ban.actions.action: ERROR  iptables -D INPUT -p tcp --dport ssh -j fail2ban-SSH
iptables -F fail2ban-SSH
iptables -X fail2ban-SSH returned 100
2010-07-14 10:17:13,618 fail2ban.jail   : INFO   Jail 'ssh-iptables' stopped
 
Old 07-24-2010, 06:51 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,558
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
See http://www.fail2ban.org/wiki/index.p...mmunity_Portal and search for the "actions.action: ERROR iptables" part.
 
Old 07-24-2010, 08:01 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Original Poster
Rep: Reputation: Disabled
There is same issue discussed there and it says to modify the python script shebang line from /usr/bin/python to /usr/bin/python2.4. Have changed it but I do not see any change. Will still wait till monday to see if the error persists.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Configuring Conky to read log file entries - apache + fail2ban djsmiley2k Linux - Desktop 1 04-26-2010 05:29 AM
Bash exec: 63: id: not found when users log in into jail Carroarmato0 Linux - Server 6 08-16-2009 06:32 AM
ssh + fail2ban only asked password once tennis_slacker Linux - Server 3 04-22-2009 02:02 PM
Jail Environment causing sql insertion errors Roosta21 Linux - Server 0 01-10-2008 12:46 PM
display php errors from within chroot jail Roosta21 Linux - Server 0 11-30-2007 11:27 AM


All times are GMT -5. The time now is 04:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration