nDPI/example
Vitaliy Ivanov fd963538f3 build: cleanup of dpdk examples.
- clean install dependencies on example binary
- add more rules to clean command

Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>
2018-11-29 13:40:37 +02:00
..
MacOS Add a new file to Xcode project 2018-04-16 10:48:30 +08:00
Win32 Update pcapExample.vcxproj.filters 2015-05-15 02:52:28 +02:00
Makefile.dpdk.in build: correct example dpdk linking with pcap. 2018-11-28 16:40:34 +02:00
Makefile.in build: cleanup of dpdk examples. 2018-11-29 13:40:37 +02:00
mining_hosts.txt Implemented custom category loading. 2018-04-26 21:10:59 +02:00
ndpi_util.c Improved skype, teredo, netbios heuristics 2018-11-21 00:32:32 +01:00
ndpi_util.h Added DPDK support to ndpiReader 2018-11-10 16:10:22 +01:00
ndpiReader.c Warning fix 2018-11-29 07:53:41 +01:00
protos.txt spelling: googlesyndication 2017-03-12 21:37:41 +00:00
README.DPDK Added DPDK support to ndpiReader 2018-11-10 16:10:22 +01:00
uthash.h Added port stats when verbose mode (-v) is used 2017-04-19 23:31:45 +02:00

Prerequisites
-------------

You need to install and compile DPDK in your HOME directory as explained in
See http://core.dpdk.org/doc/quick-start/ for DPDK installation and setup

Once DPDK is built make sure to create a symbolic link

$ cd
$ ln -s dpdk-18.08 DPDK

so the build process will use the DPDK directory letting you have multiple
DPDK versions available on your system


Build
-----
Everything will happen automagically but if you want to do it by hand
do: make -f Makefile.dpdk


Run Application
---------------
Supposing to capture packets from device eno1 you can start the
application as follows:

sudo ./build/ndpiReader -c 1 --vdev=net_pcap0,iface=eno1 -- -v 1

NOTE:
- ndpiReader without DPDK support sits in this directory
- ndpiReader with DPDK support can be found inside the ./build directory