FuseGuard Logo

fuseguard.components.filters
Component HoneyPotFilter

filters.BaseFilter
  |
  +--filters.HoneyPotFilter

Blocks IPs based on the Project Honey Pot http:BL Blacklist

Method Summary
public string getAccessKey()
          Returns the Access Key
public array getConfigurables()
          Returns a list of configurable properties
public string getDescription()
public string getHoneypotType([any octet])
          Given the 4th octet returns the type of IP address.
public string getName()
public string getSearchEngineName([any octet])
          Given the third octet returns search engine type
public string getThreatCategory()
          Returns network
public numeric inspectRequest()
public string lookupIP([any ip])
          Looks up the IP on the BL DNS and returns the resulting IP or empty string if IP is not on BL or not a valid IPv4 address
public string lookupIPWithCache([string ip])
public void setAccessKey([any accessKey])
          Set the http:BL Access Key, this is required to use the filter. Go to ProjectHoneyPot.org to obtain a key.
public any setCacheResults([numeric cacheResults])
          Determine if it should cache ip to country lookups, and if so how many results to cache
public void setMaxAge([numeric age])
          Set max age in days of IP data to block with a 10
public void setMinThreat([numeric level])
          Set the min threat level to block at a 10.
public void setThreatTypes([any types])
          Sets a list of threat types to flag by this fileter

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

getAccessKey

public string getAccessKey()
Returns the Access Key


getConfigurables

public array getConfigurables()
Returns a list of configurable properties


getDescription

public string getDescription()

getHoneypotType

public string getHoneypotType([any octet])
Given the 4th octet returns the type of IP address.

Parameters:
[any octet]

getName

public string getName()

getSearchEngineName

public string getSearchEngineName([any octet])
Given the third octet returns search engine type

Parameters:
[any octet]

getThreatCategory

public string getThreatCategory()
Returns network


inspectRequest

public numeric inspectRequest()

lookupIP

public string lookupIP([any ip])
Looks up the IP on the BL DNS and returns the resulting IP or empty string if IP is not on BL or not a valid IPv4 address

Parameters:
[any ip]

lookupIPWithCache

public string lookupIPWithCache([string ip])
Parameters:
[string ip]

setAccessKey

public void setAccessKey([any accessKey])
Set the http:BL Access Key, this is required to use the filter. Go to ProjectHoneyPot.org to obtain a key.

Parameters:
[any accessKey]

setCacheResults

public any setCacheResults([numeric cacheResults])
Determine if it should cache ip to country lookups, and if so how many results to cache

Parameters:
[numeric cacheResults]

setMaxAge

public void setMaxAge([numeric age])
Set max age in days of IP data to block with a 10

Parameters:
[numeric age]

setMinThreat

public void setMinThreat([numeric level])
Set the min threat level to block at a 10.

Parameters:
[numeric level]

setThreatTypes

public void setThreatTypes([any types])
Sets a list of threat types to flag by this fileter

Parameters:
[any types] - List of possible values: SearchEngine,Suspicious,Harvester,CommentSpammer