Парсер информации о сети: Портфолио фрилансера Дмитрий Цвиркун 21.03.2022, работа №6 - FL.RU
К списку работ
Дмитрий Цвиркун
Дмитрий Цвиркун

Парсер информации о сети

Проект является форком начального небольшого проекта FireFart/network_info, который был значительно расширен, исправлен и переработан по требованиям заказчика. Network Info Parser This script parses the ARIN/APNIC/LACNIC/AfriNIC/RIPE databases into a local PostgreSQL database. After the parsing is finished you can get the infos for any IPv4 or IPv6 by querying the database. This project was used in analysing some data dumps and cross referencing the IPs with the networks. It can also be used to easily search for netranges assigned to a company in interest. I recommend using the docker setup because it removes the hassle of installing everything manually. Hint: The Database can grow fast so be sure to have enough space. On docker my postgres database uses 4.066GB of space. Requirements Python3 >= 3.3 postgresql python3-netaddr python3-psycopg2 python3-sqlalchemy Docker You can simply pull the image from Docker Hub and connect it to a local database via docker pull firefart/network_info docker run --rm firefart/network_info -c postgres://user:pass@db:5432/network_info Or cou can connect the docker container to another database container. docker run --name network_info_db -e POSTGRES_DB=network_info -e POSTGRES_USER=network_info -e POSTGRES_PASSWORD=network_info -d postgres:9-alpine dock
https://github.com/dimacv/network_info