Re: [ostinato] Fragmentation

220 views
Skip to first unread message

Srivats P

unread,
Oct 30, 2012, 7:53:03 AM10/30/12
to osti...@googlegroups.com, kfea...@gmail.com
Ostinato won't fragment the packet if it exceeds a certain size - it
is expected behaviour. You need to create each fragment as a separate
stream. An easy way in your case would be just to save the pcap file
from wireshark containing the SIP packets and then opening the pcap
file in Ostinato - each frame in the pcap would be imported as a
separate stream. You can then change any packet params that you need
before transmitting.

You can also file a feature enhancement request on the Ostinato issue
tracker to auto-fragment packets with potential use cases.

Srivats

On Mon, Oct 29, 2012 at 1:41 PM, Kfear <kfea...@gmail.com> wrote:
> First off all let me thank you for developing such a wonderful tool as an
> open source project
> in one word WOW !
>
> Now for my case:
> I'm trying to use ostinato to test one of my SIP (text protocol) server
> if you familiar with an INVITE SIP method you probably know an INVITE can be
> much bigger then the 1500 bytes.
> 1. I'm capturing one of "my INVITE's" (using wireshark)
> 2. Then copying it's text bytes (right click on the SIP section on the
> fragmented packet >>> Copy >>> Bytes >>> Printable Text Only)
> 3. Then pasting it into ostinato's Text protocol section
>
> ostinato warns me that my packet may be dropped if my NIC doesn't support
> jumbo frames
>
> why shouldn't it fragment it ?
>
> Trying to transmit it was unsuccessful ,
> I didn't see it outgoing out of my machine
>
> Am I missing something ?
> OR
> Is it an ostianto's issue ?
> or this is a limitation that can not be solved ?
>
> see attached print screens
>
> Please advise.
>
> 10x
>
> Kfear
>
> --
> 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 post to this group, send email to osti...@googlegroups.com
> To unsubscribe from this group, send email to
> ostinato+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ostinato?hl=en
>
>



--
http://ostinato.org/
@ostinato

Kfear

unread,
Oct 30, 2012, 8:05:39 AM10/30/12
to osti...@googlegroups.com


Thank you for the reply , is there a manual how to import .pcap files ?
I couldn't find one

regards

Kfear

Srivats P

unread,
Oct 30, 2012, 8:14:59 AM10/30/12
to osti...@googlegroups.com, kfea...@gmail.com

Kfear

unread,
Oct 30, 2012, 8:58:39 AM10/30/12
to osti...@googlegroups.com
I've managed to import my .pcap file

Note: you need to export it on wireshark as a tcpdump/pcap file , that's not the default export

Tried to transmit it as is with no success ,

any idea what am I missing ??

Srivats P

unread,
Nov 2, 2012, 11:21:38 AM11/2/12
to osti...@googlegroups.com
The latest Wireshark release has pcap-ng as the fileformat, not pcap -
so yes you need to explicitly select the pcap format.

Did you click "apply" after importing the .pcap in Ostinato? When you
say no success with transmit - what does it mean exactly - no packets
go out? how do you find that out? the stats in ostinato don't
increase? or does the remote end not receive any packets?

Srivats

Kfear Oshri

unread,
Nov 2, 2012, 12:18:53 PM11/2/12
to osti...@googlegroups.com
Did you click "apply" after importing the .pcap in Ostinato?

Yes.


you say no success with transmit - what does it mean exactly - no packets
go out?

indeed , No packets go out


how do you find that out?

by running wireshark on the same PC with the "transmitting ostinato side"

the stats in ostinato don't increase?

I'm not sure ...

or does the remote end not receive any packets?

can't remember right now if I ran wireshark on the remote target to watch that


10x again

Kfear




2012/11/2 Srivats P <psta...@gmail.com>

Srivats P

unread,
Nov 2, 2012, 12:41:02 PM11/2/12
to osti...@googlegroups.com
Send the console log when you transmit the packets

If running on Windows, see the following link how to get console logs -
http://code.google.com/p/ostinato/wiki/FAQ#Q._How_do_I_see_debug_console_logs_on_Windows_platforms?

Srivats

Kfear Oshri

unread,
Nov 2, 2012, 12:49:16 PM11/2/12
to osti...@googlegroups.com
will do so on Sunday
have a nice weekend


2012/11/2 Srivats P <psta...@gmail.com>

Kfear Oshri

unread,
Nov 7, 2012, 7:50:15 AM11/7/12
to osti...@googlegroups.com
attached a log file recorded using debugview

10x

Kfear

2012/11/2 Kfear Oshri <kfea...@gmail.com>
ostinato.LOG

Srivats P

unread,
Nov 8, 2012, 11:06:37 AM11/8/12
to osti...@googlegroups.com
Based on the log, it looks like you never clicked the "start transmit"
button. If you did, did you correctly select the port column before
clicking "start tx"?

http://code.google.com/p/ostinato/wiki/UserGuide#Statistics_Window

Srivats
Reply all
Reply to author
Forward
0 new messages