A simple yet fully fledged workspace to play with tc
in a docker container.
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.
-
Install Visual Studio Code and the Dev Containers extension.
-
Clone this repository.
git clone https://github.com/badouralix/linux-traffic-control-playground.git
-
Open this folder in a container. All extensions and dependencies will be installed automatically.
Unless expressly stated otherwise, all contents licensed under the MIT License.