Linux Installation
Dependencies
Basic Dependencies (Ubuntu 10.10, 11.04)
IMPORTANT NOTE:
UCSniff 3.10 has been developed and tested on 32-bit versions of the Linux OS. We currently can't support it with 64-bit versions of Linux.
First, make sure you get the basic dependencies. These are a list of dependencies for Ubuntu 10.10 or 11.04. Please note that we have done extensive testing on these versions of Ubuntu and can't guarantee on other versions of Linux just yet.
- apt-get update
- apt-get install build-essential
- apt-get install zlib1g-dev liblzo2-dev
- apt-get install libpcap0.8-dev libnet1-dev
- apt-get install libasound2-dev
- apt-get install libbz2-dev
- apt-get install libncurses5-dev (only required for Ubuntu 11.04)
GUI Dependencies
- apt-get install libx11-dev
- apt-get install libxext-dev
- apt-get install libfreetype6-dev
Realtime Video Monitor Dependencies
Note: The minimum version required for vlc and libvlc-dev is at least 1.1.x or later. Ubuntu 10.10 and 11.04 should have both of these by default.
- apt-get install vlc
- apt-get install libvlc-dev
Remove the pulse audio debian package, if previously installed:
apt-get remove pulseaudio
Install from Source
Default UCSniff Installation
UCSniff compiles and runs well on Ubuntu 10.10 and 11.04 (next is BT5 and Fedora 15). The following steps show a simple installation of UCSniff for VoIP and Video-only sniffing:
- tar -zxvf ucsniff-xxx.tar.gz
- cd ucsniff-xxx
- ./configure
- make
- make install
Features supported:
- Audio Eavesdropping
- Video Eavesdropping (creates h264 format file)
- Creates an avi file and muxes audio and video
- Creates a wav file and muxes both forward and reverse audio
- Realtime Audio Monitor (UCSniff ALSA support)
UCSniff with GUI and Realtime Video Monitor(Recommended)
Note: The configure script option of '--enable-libvlc' enables the realtime video monitor capability of UCSniff
Dependency packages for realtime video monitor:
- apt-get install vlc
- apt-get install libvlc-dev
- ./configure --enable-libvlc --enable-gui
- make
- make install
Features supported:
- Audio Eavesdropping
- Video Eavesdropping (creates h264 format file)
- Realtime Audio Monitor
- GUI Support
- Realtime Video Monitor
- Creates an avi file and muxes audio and video
- Creates a wav file and muxes both forward and reverse audio
FFmpeg vs. libvlc (Video support differences)
FFmpeg
- Creates video output files in AVI container
- Muxes audio and video, so that AVI files can play audio
- Does not support Realtime Video Monitor
libvlc
- Creates video files as .h264 files, which plays in media players like VLC
- Doesn't mux audio and video for the created .h264 video files
- Supports Realtime Video Monitor
Installation with GUI
- ./configure --enable-gui
- make
- make install
Features supported:
- Audio Eavesdropping
- Video Eavesdropping (creates h264 format file)
- Realtime Audio Monitor
- GUI Support
- Creates an avi file and muxes audio and video
- Creates a wav file and muxes both forward and reverse audio
UNDEFINED REFERENCE WITH NCURSES: If you are facing compilation errors saying "undefined reference" to ncurses.h, uninstalling libncurses5-dev debian package followed by recompiling UCSniff should resolve the issue:
apt-get remove libncurses5-dev
./configure
make
make install