fail2ban-client banip dont work

Bug #1054959 reported by Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fail2ban (Ubuntu)
New
Undecided
Unassigned

Bug Description

when I try to ban a ip with fail2ban-client it dont do anything:

user@admin:~$ sudo /etc/init.d/fail2ban restart
 * Restarting authentication failure monitor fail2ban [ OK ]
user@admin:~$ sudo fail2ban-client status ssh
Status for the jail: ssh
|- filter
| |- File list: /var/log/auth.log
| |- Currently failed: 1
| `- Total failed: 4
`- action
   |- Currently banned: 0
   | `- IP list:
   `- Total banned: 0
user@admin:~$ sudo fail2ban-client set ssh banip 201.193.196.6
201.193.196.6
user@admin:~$ sudo fail2ban-client status ssh
Status for the jail: ssh
|- filter
| |- File list: /var/log/auth.log
| |- Currently failed: 2
| `- Total failed: 5
`- action
   |- Currently banned: 0
   | `- IP list:
   `- Total banned: 0
user@admin:~$ tail /var/log/fail2ban.log
2012-09-23 13:22:53,839 fail2ban.filter : INFO Set findtime = 600
2012-09-23 13:22:53,840 fail2ban.actions: INFO Set banTime = 86400
2012-09-23 13:22:53,860 fail2ban.jail : INFO Creating new jail 'ssh-ddos'
2012-09-23 13:22:53,860 fail2ban.jail : INFO Jail 'ssh-ddos' uses Gamin
2012-09-23 13:22:53,861 fail2ban.filter : INFO Added logfile = /var/log/auth.log
2012-09-23 13:22:53,861 fail2ban.filter : INFO Set maxRetry = 6
2012-09-23 13:22:53,861 fail2ban.filter : INFO Set findtime = 600
2012-09-23 13:22:53,862 fail2ban.actions: INFO Set banTime = 86400
2012-09-23 13:22:53,865 fail2ban.jail : INFO Jail 'ssh' started
2012-09-23 13:22:53,867 fail2ban.jail : INFO Jail 'ssh-ddos' started

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: fail2ban 0.8.6-3
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
Uname: Linux 3.2.0-31-generic x86_64
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Sun Sep 23 13:10:30 2012
InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.3)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: fail2ban
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.fail2ban.jail.conf: 2012-09-23T12:26:19.777200

Revision history for this message
Thomas (t.c) wrote :
Revision history for this message
Thomas (t.c) wrote :
Revision history for this message
Thomas (t.c) wrote :

I backported the current package from Quantal to 12.04 and 10.04
I also added a option which can backup and restore the current state with a fail2ban-helper script

https://launchpad.net/~thomas-creutz/+archive/fail2ban

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.