Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (22 loc) · 541 Bytes

README.md

File metadata and controls

43 lines (22 loc) · 541 Bytes

README

  • Install necessary libraries

sudo apt-get install libtool pkg-config gcc libpcap-dev libnuma-dev linux-headers-$(uname -r) libjson0-dev libcurl4-gnutls-dev

  • Build nDPI folder

cd vtc

cd nDPI

sudo ./autogen.sh

sudo ./configure

  • Append file example/Makefile

LDFLAGS= -ljson-c

  • Compile nDPI

sudo make

sudo make install

  • Build PF_RING

cd ../PF_RING

cd kernel

sudo make

sudo make install

sudo insmod ./pf_ring.ko

cd userland/examples

sudo make

sudo ./pfbridge -a eth0 -b eth1