Re: Flakeway recipe

Rich Brown <[email protected]> Tue, 19 May 2020 15:54:49 +0000
Newsgroups org.kernel.vger.lartc
Message-ID <[email protected]>
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