GeoIP Country Lists
Per Country IP lists useful for bash scripting/filter purpose.
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.
Build/ directory contains the per-country ip lists. One CIDR Range per line, separated by \n.
xxx.xxx.xxx.xxx/yy\n xxx.xxx.xxx.xxx/yy\n xxx.xxx.xxx.xxx/yy\n ...
18.104.22.168/26 22.214.171.124/27 126.96.36.199/30 188.8.131.52/31 184.108.40.206/32 ...
To update the dataset, just run the following command within a shell (PHP and ANT required!). THe script will automatically fetch the current GeoLite2 Database and transform the data in per-country lists.
The GeoIP data (
GeoLite2/ directory as well as the derived output data within
Build/) is released under the Terms of Creative Commons Attribution-ShareAlike 3.0 Unported License.
Following the requirements of MaxMind the "Attribution" has to be:
The GeoLite2 databases are distributed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. The attribution requirement may be met by including the following in all advertising and documentation mentioning features of or use of this database
This product includes GeoLite2 data created by MaxMind, available from <a href="http://www.maxmind.com">http://www.maxmind.com</a>.
The Scripts as well as the Documentation is released under the Terms of The MIT X11 License.