README.geoip 746 B

12345678910111213141516171819202122232425
  1. To generate new geoip files, you'll need to install the
  2. libloc/"location" tool provided by https://location.ipfire.org/.
  3. I personally build it with:
  4. ./configure CFLAGS='-g -O2' --disable-perl --without-systemd --prefix=/opt/libloc
  5. make
  6. make install
  7. Then (after adjusting PATH and PYTHONPATH) you can get the latest
  8. dump with:
  9. location update
  10. location dump geoip-dump.txt
  11. And transform it into geoip files with
  12. cargo run --release -- -i geoip-dump.txt
  13. ==============================
  14. Note that the current version "0.1.9" of rangemap has a performance
  15. bug, making this tool quite slow. Previous versions had a
  16. correctness bug that made the output needlessly long. With luck,
  17. there will soon be a fast correct rangemap version.