filters.BaseFilter | +--filters.RepeatOffenderFilter
Method Summary | |
public any |
init(any firewallInstance)
Called Once On Application Initialization |
public numeric |
getBlockDuration()
Returns the number of seconds the filter will block an IP for since last blocked request. |
public array |
getConfigurables()
Returns a list of configurable properties |
public string |
getDescription()
|
public string |
getIPList()
Returns the ipList id defined |
public numeric |
getMaximumBlockedRequests()
Returns the max number of blocked requests allowed before all are blocked by the ip. |
public string |
getName()
|
public boolean |
getUseIPListManager()
Returns if IP List Manager will be used. |
public numeric |
inspectRequest()
|
public void |
processBlockedRequest([any filter], [numeric level])
Callback invoked by event handler to notify when a block happens. |
public void |
removeIPBlock(string ipAddress)
Unblocks an IP address that is blocked by this filter. Only applies if setUseDatabase is true. |
public void |
setBlockDuration(numeric blockDuration)
The number of seconds that an IP is blocked for. |
public void |
setIPList([any ipList])
Select an IP list that contains. |
public void |
setMaximumBlockedRequests(numeric maximumBlockedRequests)
Once a remote ip acheives this many blocks, it will be blocked from all requests |
public void |
setUseIPListManager(boolean value)
When set to true uses IP List Manager to log offending IPs. |
Method Detail |
public numeric getBlockDuration()
public array getConfigurables()
public string getDescription()
public string getIPList()
public numeric getMaximumBlockedRequests()
public string getName()
public boolean getUseIPListManager()
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 removeIPBlock(string ipAddress)
string ipAddress
public void setBlockDuration(numeric blockDuration)
numeric blockDuration
public void setIPList([any ipList])
[any ipList]
public void setMaximumBlockedRequests(numeric maximumBlockedRequests)
numeric maximumBlockedRequests
public void setUseIPListManager(boolean value)
boolean value