filters.BaseFilter | +--filters.RepeatOffenderFilter
Method Summary | |
public any |
init(any firewallInstance)
Called Once On Application Initialization |
public string |
getDescription()
|
public numeric |
getMaximumBlockedRequests()
Returns the max number of blocked requests allowed before all are blocked by the ip. |
public string |
getName()
|
public numeric |
inspectRequest()
|
public void |
processBlockedRequest([any filter], [numeric level])
Callback invoked by event handler to notify when a block happens. |
public void |
setMaximumBlockedRequests(numeric maximumBlockedRequests)
Once a remote ip acheives this many blocks, it will be blocked from all requests |
Method Detail |
public string getDescription()
public numeric getMaximumBlockedRequests()
public string getName()
public any init(any firewallInstance)
any firewallInstance
public numeric inspectRequest()
public void processBlockedRequest([any filter], [numeric level])
[any filter]
- The filter triggering the event[numeric level]
- The threat level indicated by the filterpublic void setMaximumBlockedRequests(numeric maximumBlockedRequests)
numeric maximumBlockedRequests