Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

fastly/wpi-mira

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIRA: Modelling Internet Routing Anomalies

A project done in collaboration between Fastly and WPI. This project is a WPI Major Qualifying Project.

The final report will be available here.

About

This tool monitors public Internet routing data and identifies anomalous routing events based on frequency of updates.

The project was inspired by ShakeAlert. It makes use of RIS Live and Route Views static data for its data sources.

How to run:

In order to run the main program, cd into the /src folder and run the following commands:

go mod tidy
go run main.go -config="path_to_config_json"

If no config file, then default uses default-config.json, which listens to the Fastly ASN (54113)

Config file format

Create a configuration json file based on the Configuration struct in config.go. For examples of various use cases, refer to example configurations contained in example_configs.

The filters possible are based on the filters in the RIS Live manual.

How to download static file for testing:

To provide a URL containing bz2 files, create a config.json file and insert the URL under the staticFilesLink parameter in the same format as the following: "http://routeviews.org/route-views.ny/bgpdata/2021.11/UPDATES/"

To download the static data from the link, cd into the /src folder and run the following command: go run static_data/get_static_data.go

About

using apache kafka to conenct to routeviews data and monitor any of the incoming changes

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published