Using Dummynet to emulate a narrow channel under Windows
Sometimes you need to test the work of the client application in network conditions close to the combat. What when developing that when choosing software. As a rule, the server is nearby, but it is necessary to test it on such a channel and on this one. Oddly enough, for a long time I couldn’t find a convenient traffic shaping tool for Windows. From the search I remembered: someone advised me to buy a modem for testing purposes. You can put a router on Linux and steer traffic on it, but this approach seems to me a bit excessive. It turns out that at least a year in the Dummynet project there are binaries for Windows that allow you to easily and easily manage at least the channel bandwidth and latency. Installed simply. For those who carelessly read the Readme (like me), there is a guide on Youtube . A convenient way to use it is described in the DummyNet article - HowTo {an open source network access control tool) . The lack of a graphical interface does not cause any inconvenience. The only oddity is that the bandwidth actually turns out to be exactly 2 times wider than writing in the parameters, you have to remember that. Checked (under Windows Vista) in three ways: by downloading the file, via the Windows network monitor and through SpeedTest.net . Directly on the decision brought this post: DummyNet ~ Test Web / Network App by tweaking Network Latencies & Bandwidth . Thanks to the author. I can not get enough. Everything.