wiki:HowTo/InstallWireSharkOpenFlowPlugin

Version 1 (modified by nriga@bbn.com, 5 years ago) (diff)

--

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:

  1. Run wireshark
  2. Open the "Help" --> "About" menu
  3. Select the "Plugins" tab
  4. Click the "Name" header to the plugins by name
  5. Verify that "openflow.so" appears in the list.