I've downloaded nDPI package (it is stored in /root/nDPI). Then, according to installation steps manual (
https://github.com/ewildgoose/ndpi-n...master/INSTALL) from ndpi-netfilter patch I executed:
root@Dakara:~/ndpi-netfilter-master# NDPI_PATH=/root/nDPI/ make
make -C ipt
make[1]: Entering directory `/root/ndpi-netfilter-master/ipt'
if test -d ndpi_cpy; then \
cp /root/nDPI//src/* ndpi_cpy -R; \
else \
mkdir ndpi_cpy; \
cp /root/nDPI//src/* ndpi_cpy -R; \
fi
make libxt_ndpi.so
make[2]: Entering directory `/root/ndpi-netfilter-master/ipt'
cc -fPIC -Indpi_cpy/include -Indpi_cpy/lib -I../src -DOPENDPI_NETFILTER_MODULE -O2 -Wall -D_INIT=libxt_ndpi_init -c -o libxt_ndpi.o libxt_ndpi.c;
libxt_ndpi.c:36:34: error: 'NDPI_PROTOCOL_LONG_STRING' undeclared here (not in a function)
libxt_ndpi.c:37:35: error: 'NDPI_PROTOCOL_SHORT_STRING' undeclared here (not in a function)
libxt_ndpi.c:37:1: error: initializer element is not constant
libxt_ndpi.c:37:1: error: (near initialization for 'prot_short_str[0]')
libxt_ndpi.c: In function 'ndpi_mt_init':
libxt_ndpi.c:119:25: warning: unused variable 'info' [-Wunused-variable]
make[2]: *** [libxt_ndpi.o] Error 1
make[2]: Leaving directory `/root/ndpi-netfilter-master/ipt'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ndpi-netfilter-master/ipt'
make: *** [all] Error 2
Is it a code bug?
Do you have any idea how to install this SW?