fail2ban-client banip dont work
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.
* 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/
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
ProcVersionSign
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)
PackageArchitec
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.
Looks like this: https:/ /github. com/fail2ban/ fail2ban/ issues/ 45