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:
5 ./configure CFLAGS='-g -O2' --disable-perl --without-systemd --prefix=/opt/libloc
9 Then (after adjusting PATH and PYTHONPATH) you can get the latest
13 location dump geoip-dump.txt
15 And transform it into geoip files with
17 cargo run --release -- -i geoip-dump.txt
20 ==============================
22 Note that the current version "0.1.9" of rangemap has a performance
23 bug, making this tool quite slow. Previous versions had a
24 correctness bug that made the output needlessly long. With luck,
25 there will soon be a fast correct rangemap version.