Sniffer installation: Difference between revisions

From VoIPmonitor.org
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


  #download unpack and run install script. If you are upgrading already installed sniffer, answer "no" If to overwrite /etc/voipmonitor.conf.
  #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
  wget https://www.voipmonitor.org/current-stable-sniffer-static-64bit.tar.gz --content-disposition --no-check-certificate
  tar xzf voipmonitor-*-static.tar.gz
  tar xzf voipmonitor-*-static.tar.gz
  cd voipmonitor-*-static
  cd voipmonitor-*-static

Revision as of 19:30, 7 March 2017

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 sniffer service first,if its running
/etc/init.d/voipmonitor stop
# In case it won't stop, press CTRL+C and use KILL signal to terminate the process with a force:
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 --no-check-certificate
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