kawamuray/libvirt-wireshark-dissector

Wireshark dissector of Libvirt RPC protocol(GSoC 2013 Project)

★ 1Forks 0PerlGitHub ↗Compare

README

**CAUTION**

This project was merged into libvirt project. This repository will not maintained anymore. Please refer to libvirt.git repository for newest releases.

About

This is the project of Google Summer of Code 2013 accepted by QEMU.org and libvirt community. The goal of this project is, provide Wireshark dissector for Libvirt RPC protocol. It will provide Libvirt packet overview/detail analysing in Wireshark. Furthermore, it will be able to build(generated) from RPC protocol definition placed in Libvirt source tree to support latest protocol specification.

See also:

Installation

Generate ./configure script

Run following commands on top directory of libvirt-wireshark-dissector:

autoreconf --install

Basic installation

Basic installation uses distributed XDR dissector definition files(src/libvirt.dist/*.h) to build dissector. Run following commands on top directory of libvirt-wireshark-dissector:

./configure && make
sudo make install

Installation with generating XDR dissector from your libvirt source tree

This build generates XDR dissector definition files(src/libvirt.gen/*.h) from your libvirt source tree. You should specify --enable-genproto=</path/to/your/libvirt/source/tree> switch to ./configure. You can add --with-protofiles=<protoA.x protoB.x ...> option to specify which protocol should be supported by dissector. Paths should be relative from dir you specified on --enable-genproto. Default value of this option is "remote/remote_protocol.x remote/qemu_protocol.x remote/lxc_protocol.x rpc/virkeepaliveprotocol.x". Following is a example of build using dissector generation feature:

./configure --enable-genproto=$HOME/libvirt && make
sudo make install

Changing installation directory

You can change installation directory of pluggable shared object(libvirt.so) by specifying --with-plugindir=.

You can install libvirt.so into your local wireshark plugin directory:

./configure --with-plugindir=$HOME/.wireshark/plugins

Contributors

kawamuray

Issues