filters.BaseFilter | +--filters.GeoFilter
Method Summary | |
public BaseFilter |
init(any firewallInstance)
Called Once On Application Initialization |
public array |
getConfigurables()
Returns a list of configurable properties |
public any |
getCountry([any ip])
|
public string |
getCountryFromCache([string ip])
|
public any |
getDescription()
|
public string |
getName()
|
public string |
getThreatCategory()
Returns network |
public numeric |
inspectRequest()
|
public void |
setAllowReservedIP([boolean allow])
Determine what to do if IP is in IETF Reserved Address Space. |
public void |
setAllowUnknownCountry([boolean allow])
Determine what to do if IP is not mapped to a country. |
public void |
setCacheResults([numeric cacheResults])
Determine if it should cache ip to country lookups, and if so how many results to cache |
public void |
setCountryBlacklist([any list])
A comme seperated list of two letter country codes. |
public void |
setCountryWhitelist([any list])
|
public void |
setIPList([any ipList])
Select an IP list that contains ip country data. |
Method Detail |
public array getConfigurables()
public any getCountry([any ip])
[any ip]
public string getCountryFromCache([string ip])
[string ip]
public any getDescription()
public string getName()
public string getThreatCategory()
public BaseFilter init(any firewallInstance)
any firewallInstance
public numeric inspectRequest()
public void setAllowReservedIP([boolean allow])
[boolean allow]
public void setAllowUnknownCountry([boolean allow])
[boolean allow]
public void setCacheResults([numeric cacheResults])
[numeric cacheResults]
public void setCountryBlacklist([any list])
[any list]
public void setCountryWhitelist([any list])
[any list]
public void setIPList([any ipList])
[any ipList]