fail2ban.server.failmanager module

class fail2ban.server.failmanager.FailManager

Bases: object

Methods

addFailure

cleanup

delFailure

getFailCount

getFailTotal

getMaxRetry

getMaxTime

setFailTotal

setMaxRetry

setMaxTime

size

toBan

addFailure(ticket, count=1, observed=False)
cleanup(time)
delFailure(fid)
getFailCount()
getFailTotal()
getMaxRetry()
getMaxTime()
setFailTotal(value)
setMaxRetry(value)
setMaxTime(value)
size()
toBan(fid=None)
exception fail2ban.server.failmanager.FailManagerEmpty

Bases: Exception