tcpreplay for testing network stacks
Joel Sherrill
joel at rtems.org
Wed Apr 28 16:34:01 UTC 2021
On Wed, Apr 28, 2021 at 11:25 AM Vijay Kumar Banerjee <vijay at rtems.org>
wrote:
> On Wed, Apr 28, 2021 at 12:41 AM Christian MAUDERER
> <christian.mauderer at embedded-brains.de> wrote:
> >
> > Hello Vijay,
> >
> > Am 27.04.21 um 18:48 schrieb Vijay Kumar Banerjee:
> > > Hi,
> > >
> > > 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.
> >
> > Sounds like an interesting tool.
>
Used to be BSD.
https://synfin.net/sock_stream/technology/code/tcpreplay/why-tcpreplay-went-gpl
Is there a BSD licensed fork out there?
> >
> > >
> > > 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.
> >
> > The more difficult problem could be the missing Mac and FreeBSD support.
> >
> That's a good point.
>
> > What would be the advantage of having tcpreply in rtems-tools? Do you
> > want to use it for automated tests?
> >
> Yes. I was thinking about capturing the pcap format packets in
> temporary files and then running tcpreplay to check for any network
> issues. I haven't planned exactly how that will be implemented but
> roughly this is the idea.
>
> > Best regards
> >
> > Christian
> >
> > >
> > > Source repository:https://github.com/appneta/tcpreplay
> > > <https://github.com/appneta/tcpreplay>
> > >
> > > Thoughts and suggestions are much appreciated.
> > >
> > >
> > > Best regards,
> > > Vijay
> > >
> > > _______________________________________________
> > > devel mailing list
> > > devel at rtems.org
> > > http://lists.rtems.org/mailman/listinfo/devel
> > >
> >
> > --
> > --------------------------------------------
> > embedded brains GmbH
> > Herr Christian MAUDERER
> > Dornierstr. 4
> > 82178 Puchheim
> > Germany
> > email: christian.mauderer at embedded-brains.de
> > phone: +49-89-18 94 741 - 18
> > fax: +49-89-18 94 741 - 08
> >
> > Registergericht: Amtsgericht München
> > Registernummer: HRB 157899
> > Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> > Unsere Datenschutzerklärung finden Sie hier:
> > https://embedded-brains.de/datenschutzerklaerung/
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210428/2ef7aa70/attachment.html>
More information about the devel
mailing list