Version 3 (modified by 9 years ago) (diff) | ,
---|
Install Wireshark w/ OpenFlow support
Latest Wireshark (1.12.x) has OpenFlow dissectors: https://wiki.wireshark.org/OpenFlow
However this is not the default wireshark in Ubuntu 14.04 that you get with apt-get install wireshark
.
To install the latest do (based on [ this page]:
sudo apt-get install -y software-properties-common sudo add-apt-repository ppa:pi-rho/security sudo apt-get update sudo apt-get install wireshark
Install OpenFlow Dissector for WireShark
These instructions are tested on the standard Ubuntu 12.04 image of InstaGENI racks
Install necessary Packages
sudo apt-get update; sudo apt-get install wireshark glib-2.0 gtk+-2.0 libgtk2.0-dev scons
Download Source Files
Download wireshark source:
wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wireshark/wireshark_1.6.7.orig.tar.bz2 tar xvfj wireshark_1.6.7.orig.tar.bz2
Download OpenFlow dissector source:
wget https://bitbucket.org/barnstorm/of-dissector/get/pre-ws-1.10.0.tar.gz tar xvfz pre-ws-1.10.0.tar.gz
Configure Wireshark
cd wireshark-1.6.7/; ./configure export WIRESHARK=~/wireshark-1.6.7/
Install Dissector
cd ~/barnstorm-of-dissector-85564cc537d4/ cd src/ scons install
This will install the plugin at ~/.wireshark/plugins/openflow.so
If you want to install the plugin for all users move it to the global plugin place:
sudo mv ~/.wireshark/plugins/openflow.so /usr/lib/wireshark/libwireshark1/plugins/
Verify Installation
WireShark is a graphical tool, in order to run it from a remote host you need to enable X11 Forwarding.
On a Linux-friendly machine when you ssh to the remote host add the -X
flag.
To verify installation:
- Run
wireshark
- Open the "Help" --> "About" menu
- Select the "Plugins" tab
- Click the "Name" header to the plugins by name
- Verify that "openflow.so" appears in the list.