David Goulet 7f3daa5bd2 scripts: Always exit 0 after git commit for geoip script 1 year ago
..
geoip-db-tool 824e9c6e16 cargo: Move lockfile to root and update 1 year ago
README.geoip 0d4237839b Rust tool to convert IPFire Location dump into CSV format. 3 years ago
update_and_commit_geoip.sh 7f3daa5bd2 scripts: Always exit 0 after git commit for geoip script 1 year ago
update_geoip.sh 9c79442a80 script: Attempt to fix geoip script 1 year ago

README.geoip

To generate new geoip files, you'll need to install the
libloc/"location" tool provided by https://location.ipfire.org/.
I personally build it with:

./configure CFLAGS='-g -O2' --disable-perl --without-systemd --prefix=/opt/libloc
make
make install

Then (after adjusting PATH and PYTHONPATH) you can get the latest
dump with:

location update
location dump geoip-dump.txt

And transform it into geoip files with

cargo run --release -- -i geoip-dump.txt


==============================

Note that the current version "0.1.9" of rangemap has a performance
bug, making this tool quite slow. Previous versions had a
correctness bug that made the output needlessly long. With luck,
there will soon be a fast correct rangemap version.