All Projects → pierky → ripeatlastracepath

pierky / ripeatlastracepath

Licence: MIT license
A JavaScript/Python web-app which reads results from RIPE Atlas traceroute measurements (both IPv4 and IPv6) and shows the Autonomous Systems and Internet Exchange Points that probes traverse to reach the target.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ripeatlastracepath

Asn
ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation and geolocation lookup tool / Traceroute server
Stars: ✭ 242 (+830.77%)
Mutual labels:  bgp, traceroute
Mylg
Network Diagnostic Tool
Stars: ✭ 2,538 (+9661.54%)
Mutual labels:  bgp, traceroute
rtrlib
An open-source C implementation of the RPKI/Router Protocol client
Stars: ✭ 62 (+138.46%)
Mutual labels:  bgp
hphr
Halophile Router (a VyOS-based, SaltStack-automated, NetBox-configured router for small provider networks)
Stars: ✭ 39 (+50%)
Mutual labels:  bgp
pathvector
Declarative routing platform that automates BGP route optimization and control plane configuration with secure and repeatable routing policy.
Stars: ✭ 110 (+323.08%)
Mutual labels:  bgp
QDNetDiagnostics
iOS网络测试小工具
Stars: ✭ 23 (-11.54%)
Mutual labels:  traceroute
Odyssey
A piece of software that shows a traceroute of a URL redirect path
Stars: ✭ 41 (+57.69%)
Mutual labels:  traceroute
invalidroutesreporter
An ExaBGP process to elaborate and report/log invalid routes received by route servers.
Stars: ✭ 14 (-46.15%)
Mutual labels:  bgp
FlashRoute
🚀 Takes minutes to explore the topology of all routable /24 prefixes in IPv4 address space. Now supports IPv6 scan!
Stars: ✭ 26 (+0%)
Mutual labels:  traceroute
bgpkit-parser
MRT/BGP data parser written in Rust.
Stars: ✭ 43 (+65.38%)
Mutual labels:  bgp
tracetrout
A magical reverse traceroute HTTP(S) server
Stars: ✭ 48 (+84.62%)
Mutual labels:  traceroute
mtr-packet-python
Asynchronous network probes for Python
Stars: ✭ 35 (+34.62%)
Mutual labels:  traceroute
pilot
Simple web-based SDN controller for family and friends
Stars: ✭ 33 (+26.92%)
Mutual labels:  bgp
fastcli
CLI tool powered by Nornir 3.0 for network automation fast configuration. Support BGP, OSPF, EIGRP, RIP auto-configuration.
Stars: ✭ 38 (+46.15%)
Mutual labels:  bgp
netbox-bgp
NetBox plugin for BGP related objects documentation
Stars: ✭ 135 (+419.23%)
Mutual labels:  bgp
visual-traceroute
A graphical frontend for the traceroute utility. Written in Processing.
Stars: ✭ 76 (+192.31%)
Mutual labels:  traceroute
terraform-metal-kubernetes-bgp
Kubernetes on Equinix Metal using Calico and MetalLB
Stars: ✭ 110 (+323.08%)
Mutual labels:  bgp
rpki-client-portable
Portability shim for OpenBSD's rpki-client
Stars: ✭ 33 (+26.92%)
Mutual labels:  bgp
pathman-sr
Pathman SR is an open-source app to compute paths and deploy routes in Segment Routing-enabled network.
Stars: ✭ 79 (+203.85%)
Mutual labels:  bgp
ansible-frr
No description or website provided.
Stars: ✭ 28 (+7.69%)
Mutual labels:  bgp

RIPE Atlas Tracepath

A JavaScript/Python web-app which reads results from RIPE Atlas traceroute measurements (both IPv4 and IPv6) and shows the Autonomous Systems and Internet Exchange Points that probes traverse to reach the target.

Overview

Given a RIPE Atlas traceroute measurement, it builds a graph with all the ASs and IXPs traversed by probes and shows their average RTT toward the target. Graphs can be saved in JSON format and loaded later for further analysis, or they can be exported as PNG images.

Example

A demo can be found at http://www.pierky.com/ripeatlastracepath/demo.

Dependencies

Python

Yes, Python 2.7 (probably it's already on your system).

Other modules

You can run

pip install -r requirements.txt

to install dependencies.

Installation

Simply fetch the GitHub repository (or its last release) into your local directory:

  • One step installation:

git clone https://github.com/pierky/ripeatlastracepath.git /opt/ripeatlastracepath

(replace /opt/ripeatlastracepath with your preferred destination directory)

Configuration

Application specific configurations

Rename the config-distrib.py to config.py and edit it with your preferred text editor.

mv config-distrib.py config.py

IMPORTANT: when done, set the CONFIG_DONE at the end of the file to True.

Local var directory

Build the var directory referenced by the VAR_DIR variable:

mkdir var

Cached IP addresses' details will be stored here.

Web front-end

The web front-end can be deployed in two flavors:

  • using the Flask builtin web server, not suitable for production environment but useful to have a working application in few minutes;

  • using WSGI containers or Apache with mod_wsgi.

In this document you can find two brief guides about the builtin server and the Apache configuration.

Please consider security aspects of your network before installing RIPE Atlas Tracepath; it is intended for a restricted audience of trusted people and it does not implement any kind of security mechanism.

Flask builtin web server

  • To change the listening IP address, edit the last line of web.py:

ripeatlastracepathapp.run(host="0.0.0.0",threaded=True)

  • From the directory where RIPE Atlas Tracepath has been downloaded, run

python web.py

The output will show how to reach the application:

* Running on http://0.0.0.0:5000/
* Restarting with reloader

Any output debug message will be written to stdout.

  • Point your browser to the given URL (http://your_ip:5000/ in the example).

Apache

  • Install mod_wsgi (if not yet): apt-get install libapache2-mod-wsgi (Debian-like)

  • Configure Apache to use mod_wsgi.

An example is provided in the ripeatlastracepath.apache file.

A quick setup guide is available on Flask web-site.

See http://www.modwsgi.org/ for more details.

  • Edit web.wsgi and set BASE_DIR to the directory where RIPE Atlas Tracepath has been downloaded in (/opt/ripeatlastracepath for example).

  • Ensure that the var directory has write permissions for the user used by Apache:

chown -R :www-data var
chmod -R g+w var
chmod g+s var
  • Visit the URL configured in your Apache WSGIScriptAlias configuration statement (http://your_ip//ripeatlastracepath/ripeatlastracepath for example).

Docker image

If you want to quickly take a peek at how this web-app works, you can use the Docker image available on DockerHub.

Third-party Libraries

Part of this work is based on D3.js library. Please see its web sites to verify browser compatibility.

Old releases

The old version of this tool, CGI-based, has been moved in the old_style branch.

Bug? Issues?

Have a bug? Please create an issue here on GitHub at https://github.com/pierky/ripeatlastracepath/issues.

Author

Pier Carlo Chiodi - https://www.pierky.com/

Blog: https://blog.pierky.com Twitter: @pierky

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].