wireshark replay not transmitting actual packet sequences and timestamps

148 views
Skip to first unread message

fyangm...@gmail.com

unread,
Apr 24, 2019, 10:32:43 PM4/24/19
to ostinato
I have a Wireshark capture (pcap) of packets that I would like Ostinato to duplicate on the network. I was expecting Ostinato to send the same sequence of packets with the same/similar delays. However, after selecting "Open Streams..." and selecting the Wireshark capture, I checked the Stream Control settings for each stream. For some reason, the Number of Packets is defaulted to 10. Shouldn't it be a value of 1? Am I missing something here? Can someone explain how to replay a Wireshark capture? I would appreciate any help.

Srivats P

unread,
Apr 25, 2019, 9:26:53 AM4/25/19
to fyangm...@gmail.com, ostinato

Unfortunately, version 0.9 has a bug where instead of 1 the value is set incorrectly as 10. One way to fix this is to use a previous version of Ostinato (including the 0.4 version available for free) to do the PCAP import. Then save the streams to file in the native Ostinato streams format. Then open this in Ostinato 0.9.

Yes, it's a few extra steps, but right now I don't think there's any other way.  

HTH,
Srivats
Founder, Ostinato

On Thu, Apr 25, 2019 at 8:02 AM <fyangm...@gmail.com> wrote:
I have a Wireshark capture (pcap) of packets that I would like Ostinato to duplicate on the network. I was expecting Ostinato to send the same sequence of packets with the same/similar delays. However, after selecting "Open Streams..." and selecting the Wireshark capture, I checked the Stream Control settings for each stream. For some reason, the Number of Packets is defaulted to 10. Shouldn't it be a value of 1? Am I missing something here? Can someone explain how to replay a Wireshark capture? I would appreciate any help.

--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Badger wisconsin

unread,
Apr 25, 2019, 1:32:27 PM4/25/19
to ostinato
Hello Srivats,

I downloaded version 0.4 and performed the steps you provided and saved the streams in native Ostinato format. I confirmed that in version 0.4, the Number of Packets is 1, but opening the same streams in version 0.9 will change the Number of Packets to 10. Do you have another suggestion?
To unsubscribe from this group and stop receiving emails from it, send an email to osti...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Badger wisconsin

unread,
Apr 26, 2019, 9:50:40 AM4/26/19
to ostinato
Hello Srivats,

I experimented more with saving the streams in version 0.4 and have found some test cases that should help you fix this issue and understand the underlying problem. Here are my two test cases:
1) In version 0.4, create a brand new stream with all the default values (Number of Packets = 1) and save the stream in native Ostinato format. In version 0.9, open the stream. The stream incorrectly displays a Number of Packets = 10.
2) In version 0.4, create a brand new stream with all the default values (Number of Packets = 1). Change the Number of Packets to 2 and click OK. Change the Number of Packets to 1 and click OK. Save the stream in native Ostinato format. In version 0.9, open the stream. The stream now correctly displays the Number of Packets = 1.

I also repeated the tests above with importing a pcap file. If you change the Number of Packets and save the stream, it will then display correctly in version 0.9. The problems seems to be that the Number of Packets must be changed at least once in order to be saved correctly. Is it possible to modify version 0.9 to have a default Number of Packets = 1?

Srivats P

unread,
Apr 26, 2019, 11:18:17 AM4/26/19
to Badger wisconsin, ostinato
Badger,

Sorry, I should have been more clear. I know the issue and it has already been fixed -


Why don't you try to replay the packets directly from version 0.4 itself? Or do you need any 0.9 features?

Srivats
Founder, Ostinato

To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--

Badger wisconsin

unread,
Apr 29, 2019, 10:16:45 AM4/29/19
to ostinato
Hello Srivats,

I'll use version 0.4 for now. I don't need version 0.9 for any particular reason but typically try to use the latest version as it may have improvements and fixes. Thank you for your hard work and dedication. I look forward to future versions of Ostinato.

Srivats P

unread,
Apr 29, 2019, 11:34:35 AM4/29/19
to Badger wisconsin, ostinato
Good to hear that 0.4 will work for you for now.

Yes, it is always a good idea to use the latest version of Ostinato - unfortunately v0.9 had this regression creep in.

Srivats
Founder, Ostinato

To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Reply all
Reply to author
Forward
0 new messages