biganabc / mcaX

[Upgrade] Implementation of the Multipath Classification Algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MCA

PyPI Version Python Versions License: GPL v3

This tool implements the Multipath Classification Algorithm (MCA), an extension to Paris traceroute and the Multipath Detection Algorithm (MDA). MCA can detect routers that perform load balancing and identify what fields in the IP and transport headers are used for load balancing.

A more detailed explanation of MCA, together with a characterization of load balancing appeared in our INFOCOM 2020 paper:

R. Almeida, Í. Cunha, R. Teixeira, D. Veitch, and C. Diot. "Classification of Load Balancing in the Internet". In Proc. IEEE INFOCOM, 2020. PDF BibTeX

Installation

MCA has been tested on Linux. It requires Python 3.6+ and Scapy 2.4+. The latest version is available on PyPI, the Python Package Index:

pip3 install mca-traceroute
mca-traceroute --help

You can also run MCA as a Python module directly from the Git repository. You may need to install Scapy as root as MCA requires root privileges to execute.

sudo pip3 install scapy
git clone https://github.com/rlcalmeida/mca.git
cd mca
sudo python3 -m mca --help

Additional Resources

Route Explorer is a visualization framework for MCA results. It renders MCA measurements in a Web browser using Javascript libraries and supports IP-to-AS, AS-to-name, and rDNS metadata. Our paper's dataset and some example load balancers configuration are publicly available.

About

[Upgrade] Implementation of the Multipath Classification Algorithm

License:GNU General Public License v3.0


Languages

Language:Python 93.9%Language:Rust 6.1%