<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 28, 2021 at 11:25 AM Vijay Kumar Banerjee <<a href="mailto:vijay@rtems.org">vijay@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Apr 28, 2021 at 12:41 AM Christian MAUDERER<br>
<<a href="mailto:christian.mauderer@embedded-brains.de" target="_blank">christian.mauderer@embedded-brains.de</a>> wrote:<br>
><br>
> Hello Vijay,<br>
><br>
> Am 27.04.21 um 18:48 schrieb Vijay Kumar Banerjee:<br>
> > Hi,<br>
> ><br>
> > I came across the tcpreplay tool and it looks like a nice tool for<br>
> > testing the network stacks. It can be used to capture network traffic<br>
> > and then play it back, this will help with testing the network packets<br>
> > from different network stacks.<br>
><br>
> Sounds like an interesting tool.<br></blockquote><div><br></div><div>Used to be BSD. <br><br><a href="https://synfin.net/sock_stream/technology/code/tcpreplay/why-tcpreplay-went-gpl">https://synfin.net/sock_stream/technology/code/tcpreplay/why-tcpreplay-went-gpl</a><br><br>Is there a BSD licensed fork out there?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
><br>
> ><br>
> > My proposal is to add the tcpreply as a host-side tool in rtems-tools<br>
> > and use it with the network interface where the network application is<br>
> > running. The only issue that I see with the whole idea is that the<br>
> > tcpreplay is GPLv3 licensed. Will that be compatible for rtems-tools?<br>
> > The github repository says that it's compatible with UNIX and Windows<br>
> > with cygwin.<br>
><br>
> The more difficult problem could be the missing Mac and FreeBSD support.<br>
><br>
That's a good point.<br>
<br>
> What would be the advantage of having tcpreply in rtems-tools? Do you<br>
> want to use it for automated tests?<br>
><br>
Yes. I was thinking about capturing the pcap format packets in<br>
temporary files and then running tcpreplay to check for any network<br>
issues. I haven't planned exactly how that will be implemented but<br>
roughly this is the idea.<br>
<br>
> Best regards<br>
><br>
> Christian<br>
><br>
> ><br>
> > Source repository:<a href="https://github.com/appneta/tcpreplay" rel="noreferrer" target="_blank">https://github.com/appneta/tcpreplay</a><br>
> > <<a href="https://github.com/appneta/tcpreplay" rel="noreferrer" target="_blank">https://github.com/appneta/tcpreplay</a>><br>
> ><br>
> > Thoughts and suggestions are much appreciated.<br>
> ><br>
> ><br>
> > Best regards,<br>
> > Vijay<br>
> ><br>
> > _______________________________________________<br>
> > devel mailing list<br>
> > <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> > <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> ><br>
><br>
> --<br>
> --------------------------------------------<br>
> embedded brains GmbH<br>
> Herr Christian MAUDERER<br>
> Dornierstr. 4<br>
> 82178 Puchheim<br>
> Germany<br>
> email: <a href="mailto:christian.mauderer@embedded-brains.de" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> phone: +49-89-18 94 741 - 18<br>
> fax: +49-89-18 94 741 - 08<br>
><br>
> Registergericht: Amtsgericht München<br>
> Registernummer: HRB 157899<br>
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
> Unsere Datenschutzerklärung finden Sie hier:<br>
> <a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>