FuseGuard Logo

fuseguard.components.filters
Component UserAgentFilter

filters.BaseFilter
  |
  +--filters.UserAgentFilter

Looks for Bad / Malicious User Agents

Method Summary
public numeric checkUserAgent([string userAgent])
          Tests the user agent and returns a threat level.
public array getConfigurables()
          Returns a list of configurable properties
public string getDescription()
public string getName()
public string getThreatCategory()
          Returns validation
public numeric inspectRequest()
public void setCheckSpecialCharacters([boolean check="true"])
          Check user agent strings for abnormal characters
public void setPreventAncientBrowsers([boolean prevent="false"])
          Check user agent strings for old user agents
public void setPreventScripting([boolean prevent="false"])
          Check user agent strings for scripting languages

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

Method Detail

checkUserAgent

public numeric checkUserAgent([string userAgent])
Tests the user agent and returns a threat level.

Parameters:
[string userAgent]

getConfigurables

public array getConfigurables()
Returns a list of configurable properties


getDescription

public string getDescription()

getName

public string getName()

getThreatCategory

public string getThreatCategory()
Returns validation


inspectRequest

public numeric inspectRequest()

setCheckSpecialCharacters

public void setCheckSpecialCharacters([boolean check="true"])
Check user agent strings for abnormal characters

Parameters:
[boolean check="true"]

setPreventAncientBrowsers

public void setPreventAncientBrowsers([boolean prevent="false"])
Check user agent strings for old user agents

Parameters:
[boolean prevent="false"]

setPreventScripting

public void setPreventScripting([boolean prevent="false"])
Check user agent strings for scripting languages

Parameters:
[boolean prevent="false"]