Skip to content

Control outbound traffic through an interface based on the IP addresses of destinations.

Notifications You must be signed in to change notification settings

shivateja/madari

Repository files navigation

                                    Madari
What is it ?
------------
Madari is a traffic shaping software that uses iproute2 utilities , "tc" and "iptables" to shape the traffic and control
the bandwidth allocation to differrent ip addresses.

Version :
--------
0.1

Dependencies :
-------------
It requires Linux kernel 2.4+ compiled with iproute2, Python 2.7. It also requires yaml, crontab(python_crontab) libraries for
python.

How to use it? / Installation :
-------------------------------
Madari doesn't require installation. Run the script "manager.py". You might need root access. It reads the default configuration file(config.yaml) and generates shell scripts in the directory specified(in "manager.py"). 
To revert back to previous configuration of "tc", send an argument "stop" to manager.py.
Check the example configuration file for the format that needs to be followed in the configurations file.
Note that you can control only out bound traffic through an interface.

Authors :
---------
Shiva Teja

TODO :
------
The code was written overnight, needs refactoring.

About

Control outbound traffic through an interface based on the IP addresses of destinations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published