Is there a tool to control bandwidth for debugging purposes?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/JetsonNano

Our great sponsors
  • Zigi - Delete the most useless function ever: context switching.
  • Scout APM - Truly a developer’s best friend
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • toxiproxy

    :alarm_clock: :fire: A TCP proxy to simulate network and system conditions for chaos and resiliency testing

    That's unfortunate. My next idea was if you have a spare raspberry pi lying around, you could connect it to a wifi network, connect your Jetson to the raspberry via ethernet, and then setup routing rules on the raspberry to route packets between the wifi and ethernet interfaces, essentially using the raspberry pi to connect the jetson to the router, allowing the raspberry pi to be in the middle of all the traffic - then you could use tc to control the traffic on the raspberry pi... assuming tc works on the raspberry pi. Warning I haven't done this either, though I've had some interest in rigging up a raspberry pi this way for stuff similar to this. Looking at the toxiproxy you mentioned, it seems like it should do what you want? TLS is generally over TCP anyway, so it should still be able to throttle those connections - it just wont understand the encryption. I also saw a pull request for having it act as a TLS man-in-the-middle proxy: https://github.com/Shopify/toxiproxy/pull/270 But again, that would only be necessary if you need it to understand the encryption - SSL/TLS MITM proxies pretend to be t he site you are trying to connect to and even present a generated certificate which you will generally have to accept, which allows them to decrypt your connection and then they setup their own SSL/TLS connection to the actual site and proxy between them. Other popular SSL/TLS mitm proxies include mitmproxy and Zed Attack Proxy, but not sure if they have traffic shaping/controlling abilitiies.

  • wondershaper

    Command-line utility for limiting an adapter's bandwidth

    I’d like to play with the device’s bandwidth for debugging purposes. I saw wondershaper but it seems to have issues on Jetsons.

  • Zigi

    Delete the most useless function ever: context switching.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • sslstrip

    A tool for exploiting Moxie Marlinspike's SSL "stripping" attack.

    Another option might be to try something like sslstrip to strip off the TLS layer so you can point your tools at the stripped-off/non-TLS endpoint. Probably non-trivial to get this old code working on any system though, let alone a Jetson: https://github.com/moxie0/sslstrip

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts