Sniffer installation

From VoIPmonitor.org
Jump to navigation Jump to search

VoIP monitor sniffer can be installed in two ways - either as static binary which will run on any Linux distribution with kernels >= 2.6.18 or compiled from sources.

Static binary

Static binary for 32bit or 64bit can be downloaded from http://www.voipmonitor.org/download pages. Step by step for 64bit linux procedure:

# Stop service first if its running
/etc/init.d/voipmonitor stop
# In case it won't stop, press CTRL+C and you can use kill sognall to terminate the process forcefully:
kill -9 `pgrep voipmonitor`
#download unpack and run install script. If you are upgrading already installed sniffer, answer "no" If to overwrite /etc/voipmonitor.conf.
wget https://www.voipmonitor.org/current-stable-sniffer-static-64bit.tar.gz --content-disposition
tar xzf voipmonitor-*-static.tar.gz
cd voipmonitor-*-static
./install-script.sh
# Now edit configuration file /etc/voipmonitor.conf and run voipmonitor 
/etc/init.d/voipmonitor start

If your system uses systemd for services management create a systemd startup script

Compile shared binary

Please see README.* inside the sources (we recommend to use the static version)

git clone https://github.com/voipmonitor/sniffer.git