Giter Site home page Giter Site logo

linfo2142's Introduction

Equal-cost multi-path using Dublin traceroute

A graph with every hops found can be found there

For a graph with only the inside node of OVH can be found there

Utilisation

You need to install the requirements that are in scripts/requirement.txt

To trace all ip launch the trace.sh script.

Need to be run with sudo to work

It will restart where it stop in case of a error.

Trace

trace.sh will run traceroute.py with the default argument. traceroute.py can be found in the scripts folder.

traceroute.py will save the traces in the traces folders, but it can have two arguments.

python3 traceroute.py [address] [--local]

Also need to berun with sudo

If no address if given it will trace all the ip in the ip.json file. If the local flag is put the trace will be save in a folder named traces_local in other case all the trace will be saved in a traces folder.

Inside the traces folders there are saved in a directory named after there ip, them in a json file, named with the timestamp from when there were traced.

Graph

To make sens of the traces, there is convert_trace.py in the scripts folder

It will read the traces from the traces folder and write the images inside the images folder.

python3 convert_trace.py [-a|--aio] [--local] [-f filename] [-r address_source] [-d address_destination] [-c] [-o]

Without any argument, convert_trace will take every destination separetly and save each image in images/by_dest with the name (dest)_(most_recent_timestamp).png.

The -a | --aio is all in one, wich mean all destination in one graph. If -f not defined the images will be named *ALL_IN_ONE.png" and save in images

The --local will take the trace from traces_local instead of traces and save the images in images_local instead of images

The -f filename will overwrite the name of the image.

The -r is use to select only one source instead of the two by default. Can't be used with -a

The -d make an image of only one destination

The -c will put color one the graph. Really usefull (Recommended)

The -o (only work with -a) output only the hops from OVH.

Other parameter can be ignored.

Description of the files

Inside the folder scripts:

linfo2142's People

Contributors

antdum avatar lix0u avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.