1
0
mirror of https://github.com/furriest/radb-tools.git synced 2025-04-19 06:42:15 +03:00
2022-04-07 12:13:59 +03:00
2022-04-07 12:13:59 +03:00
2022-08-19 00:32:46 +03:00
2022-08-19 00:32:46 +03:00
2022-03-28 20:59:07 +03:00
2022-04-10 15:30:47 +03:00
2022-04-07 12:13:59 +03:00
2022-08-19 00:05:53 +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

MIT

Description
RADB tools - получение списка IP-адресов для определенной страны. Статья на Хабре - https://habr.com/ru/post/659655/
Readme MIT 48 KiB
Languages
Python 93.3%
Shell 6.7%