mirror of
https://github.com/furriest/radb-tools.git
synced 2025-04-19 06:42:15 +03:00
radb-tools
Tools for IP-ASN-Country mapping.
- The ip-country script generates an ip-<country code>.lst file which contains all the IPv4 prefixes announced by the country's ASNs.
- The asn-country script generates an asn-<country code>.lst file which contains all the autonomous system numbers by the country.
Installation
git clone --depth=1 git@github.com:furriest/radb-tools.git
cd ./radb-tools
pip3 install -r requirements.txt
Usage
./renew-db
python3 ./ip-country.py RU
python3 ./asn-country.py RU
or
python3 ./ip-country-ripe.py RU
License
Description
RADB tools - получение списка IP-адресов для определенной страны. Статья на Хабре - https://habr.com/ru/post/659655/
Languages
Python
93.3%
Shell
6.7%