1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00
libvirt/tools/wireshark
Michal Privoznik 7bcbcd1d93 wireshark: Replace WIRESHARK_COMPAT with actual version comparison
In the upcoming patch we will need yet another #ifdef code block
depending on wireshark version. Instead of defining
WIRESHARK_COMPAT2 or something lets just compare the version
right at the place so that we can clearly see what version broke
API.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-01-11 17:23:42 +01:00
..
samples Fix common misspellings 2015-03-23 09:01:30 +01:00
src wireshark: Replace WIRESHARK_COMPAT with actual version comparison 2016-01-11 17:23:42 +01:00
util wireshark: s/proto_tree_add_text/proto_tree_add_item/ 2016-01-11 17:23:41 +01:00
Makefile.am build: Fix 'make rpm' in VPATH with wireshark 2014-02-04 10:57:21 +01:00
README.md Introduce Libvirt Wireshark dissector 2014-01-20 17:09:41 +01:00

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

Run ./configure with --with-wireshark-dissector option enabled. Then dissector will compiled with libvirt itself.

Add/Remove protocol from dissector's support

Modify variable WS_DISSECTOR_PROTO_FILES in tools/wireshark/src/Makefile.am.

Changing installation directory

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

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

./configure --with-wireshark-dissector \
    --with-ws-plugindir=$HOME/.wireshark/plugins