filters.BaseFilter | +--filters.HoneyPotFilter
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 |
Method Detail |
public string getAccessKey()
public array getConfigurables()
public string getDescription()
public string getHoneypotType([any octet])
[any octet]
public string getName()
public string getSearchEngineName([any octet])
[any octet]
public string getThreatCategory()
public numeric inspectRequest()
public string lookupIP([any ip])
[any ip]
public string lookupIPWithCache([string ip])
[string ip]
public void setAccessKey([any accessKey])
[any accessKey]
public any setCacheResults([numeric cacheResults])
[numeric cacheResults]
public void setMaxAge([numeric age])
[numeric age]
public void setMinThreat([numeric level])
[numeric level]
public void setThreatTypes([any types])
[any types]
- List of possible values: SearchEngine,Suspicious,Harvester,CommentSpammer