SichangHe / internet_route_verification_server

[ABANDONED] Network-operator-facing web server for `internet_route_verification`
MIT License
0 stars 0 forks source link

Internet Route Verification Server

Setup

Launch a PostgreSQL server.

At ./, move in irv_server_dump.gz and load it into the server:

sh restore_db.sh

Setup from raw data (optional)

Create a new PostgreSQL database irv_server_test and source the schema files at ./:

For example, in psql -h localhost:

create database irv_server_test;
\c irv_server_test;
\i demo_v1.sql
\i trigger_only.sql

Insertion to the database

This section should be done at route_verification_server/. You can do the following in parallel.

Move in ripe.db and run this to scan for 1000 maintainer objects and 1000 route objects.

cargo r --release scan

Move in the intermediate representation (IR) JSON files to parsed_all/ and load them. The JSON files can be generated following instructions in internet_route_verification.

cargo r --release -- load

Move in the AS Relationship Dataset file 20230701.as-rel.bz2 and load them.

cargo r --release -- asrel

Make sure you have bgpdump installed. Move in the MRT file rib.20230619.2200.bz2, generate 256 report on them, and load the reports into the database.

cargo r --release -- record