lefoyer / ndpi-netfilter

ndpi-netfilter
GNU General Public License v2.0
7 stars 7 forks source link

Failed to build in Debian Wheezy 7 #5

Open phenobarbital opened 10 years ago

phenobarbital commented 10 years ago

using this nDPI source code: https://github.com/nyov/ndpi, compilation failed with:

  CC [M]  /usr/src/ndpi-netfilter/src/ndpi_cpy/lib/protocols/http_activesync.o
make[5]: *** No rule to make target `/usr/src/ndpi-netfilter/src/ndpi_cpy/lib/protocols/i23v5.o', needed by `/usr/src/ndpi-netfilter/src/xt_ndpi.o'.  Stop.
make[4]: *** [_module_/usr/src/ndpi-netfilter/src] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/usr/src/linux-headers-3.2.0-4-amd64'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/usr/src/ndpi-netfilter/src'
make: *** [all] Error 2

And others protocols and filters too (flash, ftp, gadugadu, popo) ¿how I fix this?, or ¿how to add new protocols on ndpi-netfilter? ...

phenobarbital commented 10 years ago

if I comment all failed protocols, ndpi-netfilter launch various warnings:

  LD [M]  /usr/src/ndpi-netfilter/src/xt_ndpi.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "ndpi_search_rtmp" [/usr/src/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_megaco" [/usr/src/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_whois_das" [/usr/src/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ftp_control" [/usr/src/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ayiya" [/usr/src/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_redis" [/usr/src/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_zmq" [/usr/src/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ftp_data" [/usr/src/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_twitter" [/usr/src/ndpi-netfilter/src/xt_ndpi.ko] undefined!
  CC      /usr/src/ndpi-netfilter/src/xt_ndpi.mod.o
  LD [M]  /usr/src/ndpi-netfilter/src/xt_ndpi.ko

And failed to mount module:

modprobe xt_ndpi

[ 2313.135403] nf_conntrack version 0.5.0 (1941 buckets, 7764 max)
[ 2313.649594] xt_ndpi: Unknown symbol ndpi_search_twitter (err 0)
[ 2313.649618] xt_ndpi: Unknown symbol ndpi_search_ftp_data (err 0)
[ 2313.649668] xt_ndpi: Unknown symbol ndpi_search_zmq (err 0)
[ 2313.649684] xt_ndpi: Unknown symbol ndpi_search_redis (err 0)
[ 2313.649697] xt_ndpi: Unknown symbol ndpi_search_ayiya (err 0)
[ 2313.649710] xt_ndpi: Unknown symbol ndpi_search_ftp_control (err 0)
[ 2313.649723] xt_ndpi: Unknown symbol ndpi_search_whois_das (err 0)
[ 2313.649736] xt_ndpi: Unknown symbol ndpi_search_megaco (err 0)
[ 2313.649753] xt_ndpi: Unknown symbol ndpi_search_rtmp (err 0)