Re: Flakeway recipe
tincanteksup <[email protected]> Sun, 24 May 2020 02:10:45 +0000
| Newsgroups | org.kernel.vger.lartc |
|---|---|
| Message-ID | <[email protected]> |
Hi Rich On 19/05/2020 16:54, Rich Brown wrote: > On May 19, 2020, at 11:24 AM, tincanteksup <[email protected]> wrote: >> >> You could try https://github.com/coreemu/core >> >> It will do what you want but possibly not the way you want it. > > Ahah! This is a fascinating solution to the question I asked. (Thank you.) Unfortunately, the question I asked isn't what I really wanted. Let me start again. > > I am looking for a script/set of scripts that will disrupt traffic as described below. > > I envision it would contain a combination of tc + iptables commands to modify the parameters. Bonus points if it can run on an OpenWrt router (Linux kernel 4.14 or newer). > > Thanks again. > >> On 19/05/2020 11:58, Rich Brown wrote: >>> Folks, >>> I frequently want to create a flakey gateway ("flakeway") that disrupts network traffic for testing. It would: >>> - Drop a specified fraction of packets >>> - Delay packets >>> - Limit bandwidth >>> - etc. >>> Does anyone have a script that can be invoked/turned on and off for an experiment? Thanks. >>> Rich > FYI: coreemu does contain some reasonable examples of the scripts you are looking for. What I like is, with some imagination, I can use them more-or-less anywhere. And plug in my own too ;-) A. N. Other Rich.