Skip to content

Commit

Permalink
Add tcconfig tool
Browse files Browse the repository at this point in the history
tcconfig is a tc command wrapper. Make it easy to set up traffic control of network bandwidth/latency/packet-loss/packet-corruption/etc. to a network-interface/Docker-container(veth).
  • Loading branch information
leo8a committed Apr 25, 2022
1 parent 650ba01 commit df6d2c0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ RUN set -ex \
# Installing httpie ( https://httpie.io/docs#installation)
RUN pip3 install --upgrade httpie

# Installing tcconfig ( https://tcconfig.readthedocs.io/en/latest/pages/introduction/index.html#installation )
RUN pip3 install --upgrade tcconfig

# Installing ctop - top-like container monitor
COPY --from=fetcher /tmp/ctop /usr/local/bin/ctop

Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ To troubleshoot these issues, `netshoot` includes a set of powerful tools as rec
scapy
socat
strace
tcconfig
tcpdump
tcptraceroute
termshark
Expand Down Expand Up @@ -677,6 +678,14 @@ swaks --to [email protected] \

More info, examples and lots of documentation on `Swaks` [here](http://www.jetmore.org/john/code/swaks/)

## tcconfig

tcconfig is a tc command wrapper. Make it easy to set up traffic control of network bandwidth/latency/packet-loss/packet-corruption/etc. to a network-interface/Docker-container(veth).

![tcconfig.gif](img/tcset_example.gif)

More info on `tcconfig` [here](https://github.com/thombashi/tcconfig)

## Contribution

Feel free to provide to contribute networking troubleshooting tools and use-cases by opening PRs. If you would like to add any package, please follow these steps:
Expand All @@ -687,5 +696,3 @@ Feel free to provide to contribute networking troubleshooting tools and use-case
* If you're building the tool from source, make sure you leverage the multi-stage build process and update the `build/fetch_binaries.sh` script
* Update the README's list of included packages AND include a section on how to use the tool
* If the tool you're adding supports multi-platform, please make sure you highlight that.


Binary file added img/tcset_example.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit df6d2c0

Please sign in to comment.