How to install Wireshark 2.3 on Ubuntu 16.04 with Iperf dissector compatibility

To install this last version of wireshark, follow these steps:

wget https://www.wireshark.org/download/automated/src/wireshark-2.3.0-947-g5a12a5e.tar.xz
tar xvf wireshark-2.3.0-947-g5a12a5e.tar.xz
cd wireshark-2.3.0-947-g5a12a5e
./autogen.sh

./autogen.sh: 1: ./autogen.sh: libtool: not found

You must have libtool 2.2.2 or later installed to compile Wireshark.
Download the appropriate package for your distribution/OS,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/libtool/

Libtool usually already exists in the system, but with a different name. To solve it, just create a symbolic link with the name that autogen.sh expected:

sudo ln -s /usr/bin/libtoolize /usr/bin/libtool

Now, continue:

./autogen.sh
./configure  --with-lua

checking for the location of lua.h... not found

configure: error: Lua support was requested, but is not available

You need to install liblua5.2-dev, because liblua5.3-dev is not recognized by wireshark by default. Wireshark for windows and OSX are based on liblua5.2.

sudo apt-get install liblua5.2-dev
./configure  --with-lua
make -j$(nproc)

sudo wireshark   
wireshark: error while loading shared libraries: libwscodecs.so.0: cannot open shared object file: No such file or directory

To fix, run ldconfig as root:

sudo ldconfig
sudo wireshark   


Now, to enable iperf UDP compatibility, you need download the plugin from my project and put it in the wireshark plugin folder by default:

cd iperf_dissector
mkdir ~/.config/wireshark/plugins
mv iperf.lua ~/.config/wireshark/plugins/





Enjoy it!

Comments

Popular posts from this blog

How to fix Android when developer options are not available for this user

from: can't read /var/mail/ in Python scripts

Fix "Set scan parameters failed: Input/output error" on Ubuntu 16.04