FuseGuard Logo

fuseguard.components.filters
Component DictionaryAttackFilter

filters.BaseFilter
  |
  +--filters.DictionaryAttackFilter

Detects Repeated Requests Containing Passwords

Method Summary
public string getDescription()
public boolean getIgnoreEmptyValues()
          Returns value of IgnoreEmptyValues setting.
public string getName()
public string getThreatCategory()
          Returns authentication
public numeric inspectRequest()
public void purgeExpired()
          purges log of attackers
public void setExpiresAfter(numeric expiresAfter)
          Number of seconds before the attack counter is reset. If set to zero it never resets. You may not want to set to zero because it may cause the filter to consume to use too much ram.
public void setIgnoreEmptyValues([boolean ignore="true"])
          Ignore variables that have empty values.
public void setMaximumAttempts(numeric maximumAttempts)
          Sets the maximum number of requests that can be made containing a password. The counter expires after the value specified in the setExpireAfter function

Methods inherited from filters.BaseFilter
logEnabled, ignoreVariable, getBlockLevel, init, setScopes, setFilterLevel, getFirewall, setFilterID, filterEnabled, blockEnabled, getRequestLogMessageDetail, logOnly, getFilterInstanceName, inspectVariables, setLogLevel, ignoresVariable, getFilterID, ignoreURI, filterRequest, inspectsCGIScope, getRequestLogMessage, inspectsURI, getLogLevel, setAllowDenyOrder, inspectsCookieScope, setBlockLevel, filterVariables, setFilterInstanceName, inspectVariable, allowURI, getHelp, inspectsUrlScope, getFilterLevel, denyURI, setRequestLogMessage, getFilterComponent, inspectsFormScope
 

Method Detail

getDescription

public string getDescription()

getIgnoreEmptyValues

public boolean getIgnoreEmptyValues()
Returns value of IgnoreEmptyValues setting.


getName

public string getName()

getThreatCategory

public string getThreatCategory()
Returns authentication


inspectRequest

public numeric inspectRequest()

purgeExpired

public void purgeExpired()
purges log of attackers


setExpiresAfter

public void setExpiresAfter(numeric expiresAfter)
Number of seconds before the attack counter is reset. If set to zero it never resets. You may not want to set to zero because it may cause the filter to consume to use too much ram.

Parameters:
numeric expiresAfter - Seconds

setIgnoreEmptyValues

public void setIgnoreEmptyValues([boolean ignore="true"])
Ignore variables that have empty values.

Parameters:
[boolean ignore="true"]

setMaximumAttempts

public void setMaximumAttempts(numeric maximumAttempts)
Sets the maximum number of requests that can be made containing a password. The counter expires after the value specified in the setExpireAfter function

Parameters:
numeric maximumAttempts