nDPI/example
emanuele-f b2c8cb655c ndpi_load_hostname_category now performs strdup on the name argument
This simplifies the API as an application is not required to keep references to the strings to free
2019-10-08 10:23:00 +02:00
..
MacOS Fix the Xcode project 2019-05-15 09:56:10 +08:00
Win32 Update pcapExample.vcxproj.filters 2015-05-15 02:52:28 +02:00
categories.txt Add categories test PCAP 2019-09-27 10:15:20 +02:00
Makefile.dpdk.in Fix Makefile.dpdk 2019-07-19 10:00:12 +00:00
Makefile.in Add missing lib 2019-08-29 17:55:51 +02:00
mining_hosts.txt Implemented custom category loading. 2018-04-26 21:10:59 +02:00
ndpiReader.c ndpi_load_hostname_category now performs strdup on the name argument 2019-10-08 10:23:00 +02:00
protos.txt Xbox and PS4 static port classification. 2019-07-23 09:56:15 -07:00
reader_util.c Code cleanup 2019-10-02 23:25:05 +02:00
reader_util.h Manual merge of pull #769 2019-10-02 23:01:29 +02: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