How To Install ostinato on Ubuntu 18.04
Introduction
In this tutorial we learn how to install ostinato
on Ubuntu 18.04.
What is ostinato
ostinato is:
Ostinato is an open-source, cross-platform network packet crafter/traffic generator and analyzer with a friendly GUI. Craft and send packets of several streams with different protocols at different rates. Ostinato aims to be “Wireshark in Reverse” and become complementary to Wireshark.
Features:
- Open, edit, replay and save PCAP files
- Support for the most common standard protocols
- Ethernet/802.3/LLC SNAP
- VLAN (with QinQ)
- ARP, IPv4, IPv6, IP-in-IP IP Tunnelling (6over4, 4over6, 4over4, 6over6)
- TCP, UDP, ICMPv4, ICMPv6, IGMP, MLD
- Any text based protocol (HTTP, SIP, RTSP, NNTP etc.)
- Modify any field of any protocol (some protocols allow changing packet fields with every packet at run time e.g. changing IP/MAC addresses)
- User provided Hex Dump - specify some or all bytes in a packet
- User defined script to substitute for an unimplemented protocol (EXPERIMENTAL)
- 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 real time port receive/transmit statistics and rates
- Capture packets and view them (needs Wireshark)
- Framework to add new protocol builders easily
There are three methods to install ostinato
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ostinato Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ostinato
using apt-get
by running the following command:
sudo apt-get -y install ostinato
Install ostinato Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ostinato
using apt
by running the following command:
sudo apt -y install ostinato
Install ostinato Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ostinato
using aptitude
by running the following command:
sudo aptitude -y install ostinato
How To Uninstall ostinato on Ubuntu 18.04
To uninstall only the ostinato
package we can use the following command:
sudo apt-get remove ostinato
Uninstall ostinato And Its Dependencies
To uninstall ostinato
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove ostinato
Remove ostinato Configurations and Data
To remove ostinato
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge ostinato
Remove ostinato configuration, data, and all of its dependencies
We can use the following command to remove ostinato
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ostinato
References
Summary
In this tutorial we learn how to install ostinato
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.