Ostinato – Free Ethernet Packet Generator For Windows And Linux

Hey I need to send a IP packet with destination address 172.26.57.86 and mac address 00:11:22:33:44:55 for doing some protocol testing. What should I do?

Hmmm may be capture a similar packet in ethereal, modify the contents and send it out using some tool.

OK -- but what about checksums and all -- how to make sure they are re-computed.

Hmmm In that case -- use Ixia/Smartbits -- they will do the job for you

OK -- but the ports are limited and I wont get one just for sending a few IP packets

Hmmm may be do a google search for some packet generator on windows/linux

OK -- but I need something that works -- dont want to waste time doing searching……………………

Do you identify yourself with the above conversation? If yes -- read ahead.

Many times, it is required to send a few packets of a particular kind as part of protocol/other testing. Dependency on standard tools like Ixia/Smartbits means that any such experimentation/testing would depend on the availability of that very tool.

In certain cases, it is indeed required to use a proper packet generator eg where high data rate traffic or very controlled kind of traffic is required. However, for cases, where data rates are not significant and more important aspect is to monitor the system behavior for a particular kind of packet, a dependable packet generator that could run on eg a windows host machine and send a configured packet on request would do the job.

In that context Ostinato provides user with a great alternative for packet generation purposes.

What is Ostinato?

Ostinato is an open-source, cross-platform packet/traffic generator and analyzer with a friendly GUI. Ostinato network tool can be used across linux, windows, MAC and BSD seamlessly.

Why Ostinato?

  • You need to generate different kind of packets eg TCP/UDP/ICMP
  • Accuracy of sent rate is not important -- a close approximation would be enough
  • Its important to send packets rather than having stringent traffic shaping requirements.
  • You dont want to sit in a lab for sending a simple IP packet -- you want to do it sitting on your desk 🙂
  • You don’t want to be bogged down by Ixia/Smartbits availability.

Important Points

  • Runs on both Windows and Linux
  • Supports the most common standard protocols
    • Ethernet/802.3/LLC SNAP
    • VLAN (with QinQ)
    • IP, ARP
    • TCP, UDP, ICMP
  • Modify any field of any protocol
  • Stack protocols in any arbitrary order
  • Create and configure multiple streams
  • Configure stream rates, bursts, no. of packets
  • Single client can control and configure multiple ports on multiple computers generating traffic
  • Exclusive control of a port to prevent the OS from sending stray packets provides a controlled testing environment
  • Statistics Window shows realtime port receive/transmit statistics and rates
  • Capture packets and view them (needs Wireshark to view the captured packets)

The following youtube video describes the interface and configuration.

A few screenshots of Ostinato

  • Main Window

Ostinato Packet Generator Main Window

  • Protocol Selection

Configuring a Stream in Ostinato

  • Packet View

Ostinato Packet View

  • Stream Control

Ostinato Stream Control

Find this interesting? Follow the QuickStart link to know more.

Ostinato is hosted and available from googlecode. It is copyright © Srivats P. and licensed and distributed under GPL – yes, its Open Source.

About Ostinato

Ostinato is PCAP compatible

From version 0.4 onwards, Ostinato can read and write PCAP files. So if you have a pcap file, you can open it directly in Ostinato . Alternatively, you can capture traffic using Wireshark, save it as a PCAP file and then open the PCAP file in Ostinato and replay it back! Ostinato intelligently parses the packets in the PCAP file while importing and you can edit any field of any packet before replaying the traffic back. It has now truly become “Wireshark in Reverse”.

Ostinato Troubleshooting Tips

After installation, you should be able to run Ostinato on your machine seamlessly by following the installation instructions. However in case you face any problem, you might find the following tips handy.

  • If you can’t expand the port group to see a port list
    • Check the port group status icon -- a red icon indicates that it is disconnected.
    • Try connecting to the port group again.
    • If reconnecting also fails, check the system tray to see if ‘drone‘ (the server component of Ostinato ) is running -- if it is not, run drone manually.
  • If the port group status icon is green (connected) but you still can’t expand the port group to see a port list, re-verify that you are running Ostinato with administrative privileges and the ports are not disabled
  • For more troubleshooting tips, check the Ostinato FAQ. Alternatively you can also send email to the Ostinato mailing list -- ostinato[at]googlegroups[dot]com.

It’s all there at http://wwww.ostinato.org/. Your packet generator search ends here!!





Inficone runs on the Genesis Framework

Genesis Framework
Genesis empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. It's that simple - start using Genesis now!
Follow On Twitter
Follow On Facebook
Follow Using RSS
Follow Using Email
Tweet This Post
Share Post On Facebook
Digg This Post
Stumble Upon

Comments

  1. Srivats P. says:
  2. Hi,
    Do you know about weather ostinato 0.2 supports broadcasting message on isolated network.?
    If it supports , how much maximum traffic we can send it on the network?
    Thanks in advance.

    BR,
    Chirug

  3. Thanks for the positive review and detailed introduction to Ostinato.

    Since the initial public release in April, many more features have been added. Ostinato has now been verified to work on BSD and Mac OSX also apart from Windows and Linux. See http://code.google.com/p/ostinato for details.

    It would be great if you could update the post!

    – Srivats (Developer, Ostinato)

    • rajath kumar says:

      hi Srivats ,

      I’m presently workng on to Imlementation of Ostinato.

      it would be really helpful, if you could provide me d link, where i can get to know about complete installation steps and using ostinato……

      right now i am following wiki user guide link…

      thank you

      • Srivats P. says:

        Rajath,

        Installation instructions for various platforms is at –
        ostinato.org/wiki/Downloads?tm=2

        User Guide wiki page is currently the only documentation about using Ostinato.

        If you have specific questions, send them to the Ostinato mailing list – ostinato-at-googlegroups-dot-com

        Srivats

Speak Your Mind

*

This blog is kept spam free by WP-SpamFree.