开发者

Is there a Linux driver for testing transport protocols?

开发者 https://www.devze.com 2023-03-27 12:36 出处:网络
I am trying to test some communication protocols, both commercial and homegrown. I would like to find an Ethernet driver that allows me to degrade the channel 开发者_如何学Goin a controllable fashion.

I am trying to test some communication protocols, both commercial and homegrown. I would like to find an Ethernet driver that allows me to degrade the channel 开发者_如何学Goin a controllable fashion. For instance

  1. specify a packet drop rate.
  2. modulate the bandwidth.
  3. modulate the RTT, independent of the apparent bandwidth

This may all be done performing "tricks" to the real driver's input queue. So I would simply load the driver pointing it at target existing channel and perform my tests on the new port. Anyone know if such a driver exists?


Netem does what you want at ip level.

http://www.linuxfoundation.org/collaborate/workgroups/networking/netem

0

精彩评论

暂无评论...
验证码 换一张
取 消