Netify DPI for Ubuntu - Live Traffic Analysis

Overview

The following document provides information on how to install the Netify Agent (netifyd) on Ubuntu for ingesting live traffic on a gateway or via mirror port mode. For instructions on how to install and configure Netify to analyze packet capture files, please see these instructions.

Installation

Up-to-date Netify packages are maintained in our Ubuntu repository.

If you are unsure of the version of Ubuntu you are using, run lsb_release -a

Ubuntu 20.04 LTS

apt-get update
apt-get install curl gnupg2
curl https://download.netify.ai/5/ubuntu/apt-gpg-key-netify.asc -o Netify.gpg
apt-key add - < Netify.gpg
echo 'deb https://download.netify.ai/5/ubuntu/focal/ /' > /tmp/netify.list
mv /tmp/netify.list /etc/apt/sources.list.d/netify.list
apt-get update
apt-get -y install netifyd netify-proc-core netify-sink-log netify-sink-socket netify-sink-http

Ubuntu 22.04 LTS

apt-get update
apt-get install curl gnupg2
curl https://download.netify.ai/5/ubuntu/apt-gpg-key-netify.asc -o Netify.gpg
apt-key add - < Netify.gpg
echo 'deb https://download.netify.ai/5/ubuntu/jammy/ /' > /tmp/netify.list
mv /tmp/netify.list /etc/apt/sources.list.d/netify.list
apt-get update
apt-get -y install netifyd netify-proc-core netify-sink-log netify-sink-socket netify-sink-http

Configuration

Network Interfaces

You will need to install Netify on a system with at least two network cards. Examples are shown below for both configuration modes. Please keep in mind that Netify can monitor any number of network interfaces.

Gateway Mode Example
# File: /etc/network/interfaces

# Network interface connected to WAN/backbone
allow-hotplug eth0
iface eth0 inet dhcp

# Network interface connected to LAN/local network
auto eth1
iface eth1 inet static
 address 192.168.99.1
 netmask 255.255.255.0
Mirror Port Mode Example
# File: /etc/network/interfaces

# Network interface connected to network
allow-hotplug eth0
iface eth0 inet dhcp

# Network interface connected to mirror port
# - note: IP address is not required
auto eth1
iface eth1 inet manual
up ifconfig eth1 up

Next Step

With netifyd installed, you are now ready to jump into the Network Interfaces documentation.