tcpreplay for testing network stacks

Chris Johns chrisj at rtems.org
Wed Apr 28 06:45:27 UTC 2021


On 28/4/21 2:48 am, Vijay Kumar Banerjee wrote:
> I came across the tcpreplay tool and it looks like a nice tool for testing the
> network stacks. It can be used to capture network traffic and then play it back,
> this will help with testing the network packets from different network stacks.
> 
> My proposal is to add the tcpreply as a host-side tool in rtems-tools and use it
> with the network interface where the network application is running. The only
> issue that I see with the whole idea is that the tcpreplay is GPLv3 licensed.
> Will that be compatible for rtems-tools? The github repository says that it's
> compatible with UNIX and Windows with cygwin.
> 
> Source repository:https://github.com/appneta/tcpreplay
> <https://github.com/appneta/tcpreplay>
> 
> Thoughts and suggestions are much appreciated.

It is GPLv3 so it cannot be imported as source. It can be referenced as a
command if available for the host.

I also suggest you investigate VDE with qemu. This is what I use to avoid being
root.

Chris


More information about the devel mailing list