Skip to content

A simple yet fully fledged workspace to play with `tc` in a docker container

License

Notifications You must be signed in to change notification settings

badouralix/linux-traffic-control-playground

Repository files navigation

Linux Traffic Control Playground

A simple yet fully fledged workspace to play with tc in a docker container.

Context

While watching https://youtu.be/Ylf4J736JIg, I needed a playground to experiment with tc and other commands allowing user-space tweaks of the linux network stack. Docker provides a sandbox beside the network of my laptop, preventing any potential impactful disaster in case an experiment goes wrong. Jupyter Notebook is used as a practical tool to save both the inputs and outputs of all experiments.

Many details about tc packet processing architecture are provided in https://legacy.netdevconf.info/0.1/sessions/21.html.

Usage

  1. Install Visual Studio Code and the Dev Containers extension.

  2. Clone this repository.

    git clone https://github.com/badouralix/linux-traffic-control-playground.git
  3. Open this folder in a container. All extensions and dependencies will be installed automatically.

iperf3.ipynb screenshot

License

Unless expressly stated otherwise, all contents licensed under the MIT License.

About

A simple yet fully fledged workspace to play with `tc` in a docker container

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages