1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tools/wireshark
Michal Privoznik 1045c56c0f wireshark: Drop glib dependency
The only function that we currently use from glib is g_sprintf().
That's a very big gun for such small target. Not only that, but
we've silently relied on wireshark dragging in the glib. Replace
the g_sprintf() with plain sprinf() so that we can drop the glib
dependency.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-08-01 12:02:51 +02:00
..
samples Fix common misspellings 2015-03-23 09:01:30 +01:00
src wireshark: Drop glib dependency 2016-08-01 12:02:51 +02:00
util wireshark: s/proto_tree_add_text/proto_tree_add_item/ 2016-01-11 17:23:41 +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