Is there an open source /freeware wan similator for wind开发者_如何学Pythonows ?
For windows, there is eexnetlab (Website German, Program English). It's a program to simulate networks.
You can use it to create a virtual bridge between two network interfaces and place two wan emulators between them (one for every direction).
http://wanem.sourceforge.net/
Haven't personally tried, but Clumsy seems easy to use. It might not have all of the features of some heavier solutions though:
clumsy will choose which packets to capture by given filter, in which in can specify whether it's inbound or outbound, tcp or udp, socket port or ip, or a logical combination of many of those criterias.
...
After packets are captured, you can choose to enable provided functions to worsen perspective network condition:
* Lag, hold the packets for a short period of time to emulate network lagging.
* Drop, randomly discard packets.
* Throttle, block traffic for a given time frame, then send them in a single batch.
* Duplicate, send cloned packets right after to the original one.
* Out of order, re-arrange the order of packets.
* Tamper, nudge bits of packet's content.
精彩评论