FuseGuard Logo

fuseguard.components.filters
Component GeoFilter

filters.BaseFilter
  |
  +--filters.GeoFilter

Allows you to block IPs by Geography.

Method Summary
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.

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

Method Detail

getConfigurables

public array getConfigurables()
Returns a list of configurable properties


getCountry

public any getCountry([any ip])
Parameters:
[any ip]

getCountryFromCache

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

getDescription

public any getDescription()

getName

public string getName()

getThreatCategory

public string getThreatCategory()
Returns network


inspectRequest

public numeric inspectRequest()

setAllowReservedIP

public void setAllowReservedIP([boolean allow])
Determine what to do if IP is in IETF Reserved Address Space.

Parameters:
[boolean allow]

setAllowUnknownCountry

public void setAllowUnknownCountry([boolean allow])
Determine what to do if IP is not mapped to a country.

Parameters:
[boolean allow]

setCacheResults

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

Parameters:
[numeric cacheResults]

setCountryBlacklist

public void setCountryBlacklist([any list])
A comme seperated list of two letter country codes.

Parameters:
[any list]

setCountryWhitelist

public void setCountryWhitelist([any list])
Parameters:
[any list]

setIPList

public void setIPList([any ipList])
Select an IP list that contains ip country data.

Parameters:
[any ipList]