News About Features Documentation FAQ ChangeLog Mailinglist Download GIT Screenshots RRDtool MRTG WebQ Logwatch Reporter Latest stable: 2.0.2-1 Latest devel: 2.0.3-0.beta5 |
geoip2_country() GeoIP2 country match (using mmdb files). Usage: geoip2_country(country_codes, allow=True, db="/usr/share/GeoIP/GeoLite2-Country.mmdb") Where: country_codes is a list of allowed/denied countries. Use upper case country codes only! allow is an boolean, which defines if countries should be allowed or denied db is a full pathname to an GeoIP.mmdb file Example: geoip2_country(["SK"]) New in version 2.0.0. |