Public bug reported:
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
** Affects: fail2ban (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054959
Title:
fail2ban-client banip dont work
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/1054959/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs