README.geoip (746B)
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 5 ./configure CFLAGS='-g -O2' --disable-perl --without-systemd --prefix=/opt/libloc 6 make 7 make install 8 9 Then (after adjusting PATH and PYTHONPATH) you can get the latest 10 dump with: 11 12 location update 13 location dump geoip-dump.txt 14 15 And transform it into geoip files with 16 17 cargo run --release -- -i geoip-dump.txt 18 19 20 ============================== 21 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.