Flussonic Media Server documentation

GeoIP

GeoIP is a library that enables the user to find the country that any IP address or hostname originates from. It uses a file-based database.

These databases simply contain IP blocks as keys, and countries/cities/ASNs as values, which should be more complete and accurate than using reverse DNS lookups.

This package contains a script that downloads the latest version of the binary flavor of the four MaxMind GeoLite databases (Country, IPv6 Country, City, and ASN).

In Flussonic Media Server, the GeoIP library is used in the flow settings to allow access from certain countries:

allowed_countries RU UA KZ;

The GeoIP database is updated more often than the releases of our server are released, so the situation may arise that the database is outdated. You can update it in the following way:

Install packages that provide geoip-database:

apt-get install geoip-database-contrib

Update the database:

geoip-database-contrib_update
cp /usr/share/GeoIP/GeoIP.dat /opt/flussonic/libs/egeoip/priv/GeoIP.dat

Re-read the Flussonic Media Server configuration.

/etc/init.d/flussonic restart