1. 10

I found that I was most productive during an airplane flight because I couldn’t reliably connect to wifi, stopping long requests from happening, such as websockets and video streaming. I could still access stack overflow and such, but just barely, which prevented me from clicking links unnecessarily.

I’m trying to figure out how to recreate that on my computer. So far I’ve tried Fiddler, but that doesn’t slow requests, just adds a delay before it happens. Chrome can slow requests per page, but not on all pages or on network requests outside of chrome.

Is there a general purpose solution where I can temporarily slow my network speeds?

  1.  

    1. 4

      As a comcast customer, I feel this project is /perfectly/ named!

    2. 6

      If you’re on a Mac, you can use Network Link Conditioner.

      1. 5

        You can achieve what you desire and also increase your privacy by buying a small vps ie. on vultr. Spinning up an OpenBSD box on it. Use ssh tunnelling or set up a full blown VPS then use pf queues to put yourself on a throttled connection. That way all your traffic will be going through your server and it will be effectively limiting your network speed.

        https://man.openbsd.org/pf.conf#QUEUEING

        1. 3

          If desired, you can also accomplish something similar using FreeBSD (with ipfw/dummynet).
          Here is a straightforward example found via google search.

        2. 4

          Assuming the windows tag is accurate, Clumsy can do just this (slow all network connections etc).

            1. 3

              If you’re on unix you can use tc - show / manipulate traffic control settings.

              Some examples;

              tc qdisc add dev eth0 root netem delay 100ms

              Adds a fixed amount of delay to all packets going out of the local Ethernet.

              tc qdisc change dev eth0 root netem delay 100ms 10ms

              Random variation.

              tc qdisc change dev eth0 root netem delay 100ms 10ms 25%

              With correlation.

              tc qdisc change dev eth0 root netem loss 0.1% packet loss

              Packet loss.

              tc qdisc add dev eth0 root tbf rate 1024kbit latency 50ms burst 1540

              egress rate of 1024kbit at a latency of 50ms and a burst rate of 1540.

              1. 2

                Buy a small Mikrotik (like hAP Lite) and configure it to enqueue the traffic on a 100k queue. You can also made some more specific rules, like putting videos packet in a low priority queue.

                1. 1

                  You could connect to a public proxy and force all traffic through it, it will be slow as hell and very limiting on what services will work.

                  1. 1

                    Limit yourself to three tabs open at any given time. Then you will only have open what you really need and will think twice about going down the rabbit hole of distraction.