Offline command line utility for IP address look-up through CSV databases from ip-location-db project.
This is my personal text file parsing optimization sandbox, don't use for critical things.
Only -num
files are supported.
ip_range_start,ip_range_end,(VALUE)
Usage: ip-location-db-lookup [-w <workers>] [DATABASE] [IPv4]
Offline IP address lookup tool.
Options:
-w, --workers amount of workers (default: 1)
--help display usage information
To build this little thing, you'll need some Rust.
git clone --depth 1 https://github.com/Elvyria/ip-location-db-lookup
cd ip-location-db-lookup
cargo build --locked --release
or
RUSTFLAGS="-C target-cpu=native" cargo build --locked --release