Public bug reported:

Binary package hint: fail2ban

I've got a fail2ban jail called "ssh":
root@ec2:~# fail2ban-client status
Status
|- Number of jail:      1
`- Jail list:           ssh

fail2ban client help shows:
    set <JAIL> banip <IP>                    manually Ban <IP> for <JAIL>

but I get:
root@ec2:~# fail2ban-client set ssh banip 46.28.108.92
global name 'time' is not defined

in the logs:
2011-03-27 11:04:37,793 fail2ban.comm   : DEBUG  Command: ['set', 'ssh', 
'banip', '46.28.108.92']
2011-03-27 11:04:37,793 fail2ban.comm   : WARNING Invalid command: ['set', 
'ssh', 'banip', '46.28.108.92']

Apologies in advance if I've fatfingered the command somehow, but I've
double-checked the syntax and it looks like it should work.

Thanks!

** Affects: fail2ban (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/743677

Title:
  attempt to ban ip: "global name 'time' is not defined"

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to