Open rusbomber opened 11 years ago
Replace NDPI_BITMASK_IS_ZERO to NDPI_BITMASK_IS_EMPTY in src/main.c and test.
root@debian:/home/jake/nDPI/ndpi-netfilter# LANG=C NDPI_PATH=/home/jake/nDPI make
make -C ipt
make[1]: Entering directory /home/jake/nDPI/ndpi-netfilter/ipt' if test -d ndpi_cpy; then \ cp /home/jake/nDPI/src/* ndpi_cpy -R; \ else \ mkdir ndpi_cpy; \ cp /home/jake/nDPI/src/* ndpi_cpy -R; \ fi make libxt_ndpi.so make[2]: Entering directory
/home/jake/nDPI/ndpi-netfilter/ipt'
make[2]: libxt_ndpi.so' is up to date. make[2]: Leaving directory
/home/jake/nDPI/ndpi-netfilter/ipt'
rm -r ndpi_cpy
make[1]: Leaving directory /home/jake/nDPI/ndpi-netfilter/ipt' make -C src make[1]: Entering directory
/home/jake/nDPI/ndpi-netfilter/src'
if test -d ndpi_cpy; then \
cp /home/jake/nDPI/src/* ndpi_cpy -R; \
else \
mkdir ndpi_cpy; \
cp /home/jake/nDPI/src/* ndpi_cpy -R; \
fi
make -C /lib/modules/2.6.32-5-amd64/build M=$PWD;
make[2]: Entering directory /usr/src/linux-headers-2.6.32-5-amd64' CC [M] /home/jake/nDPI/ndpi-netfilter/src/main.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/ndpi_main.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/third_party/src/ahocorasick.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/third_party/src/node.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/third_party/src/sort.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/afp.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/aimini.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/applejuice.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/armagetron.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/battlefield.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/bgp.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/bittorrent.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/ciscovpn.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/citrix.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/corba.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/crossfire.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/dcerpc.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/dhcp.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/dhcpv6.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/directconnect.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/directdownloadlink.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/dns.o /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/dns.c: In function 'ndpi_search_dns': /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/dns.c:230: warning: the address of 'a_record' will never be NULL CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/dofus.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/dropbox.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/edonkey.o CC [M] /home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/fasttrack.o make[5]: *** No rule to make target
/home/jake/nDPI/ndpi-netfilter/src/ndpi_cpy/lib/protocols/feidian.o', needed by /home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.o'. Stop. make[4]: *** [_module_/home/jake/nDPI/ndpi-netfilter/src] Error 2 make[3]: *** [sub-make] Error 2 make[2]: *** [all] Error 2 make[2]: Leaving directory
/usr/src/linux-headers-2.6.32-5-amd64'
make[1]: * [all] Error 2
make[1]: Leaving directory `/home/jake/nDPI/ndpi-netfilter/src'
make: * [all] Error 2
commented line 38 in /ndpi-netfilter/src/Makefile like this:
result is successful make with bunch of warnings:
...
Building modules, stage 2.
MODPOST 1 modules
WARNING: "ndpi_search_ppstream" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_gnutella" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_oracle" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_mail_smtp_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ipp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_shoutcast_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_radius" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_http_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_rdp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_quake" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_oscar" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_veohtv_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_mdns" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_vnc_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_thunder" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_guildwars_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_zattoo" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_warcraft3" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ssdp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_netflow" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_rsync" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_postgres_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ftp_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_gtp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_mssql" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_mail_imap_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_openft_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_florensia" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ssh_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_soulseek_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_tftp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_whois_das" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_in_non_tcp_udp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_sip" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_winmx_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_sflow" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_xbox" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_maplestory" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_fiesta" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_activesync" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_stun" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_mysql_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_rtcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ntp_udp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_steam" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_socrates" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_tds_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_noe" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ldap" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_sopcast" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_openvpn" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_tcp_or_udp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_telnet_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_flash" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_usenet_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_qq" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_snmp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_syslog" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_kontiki" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_mail_pop_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_rtp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_meebo" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_nfs" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_h323" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_worldofwarcraft" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_msn" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_tor" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_pplive_tcp_udp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_popo_tcp_udp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_tvants_udp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_lotus_notes" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_filetopia_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_skinny" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_kerberos" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_mms_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "is_skype_connection" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_teamview" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_yahoo" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_pcanywhere" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_netbios" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_world_of_kung_fu" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_stealthnet" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_halflife2" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_imesh_tcp_udp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_spotify" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_jabber_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_mgcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_tvuplayer" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_xdmcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_teamspeak" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_vmware" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_skype" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_irc_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_ssl_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_pptp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_smb_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_icecast_tcp" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_viber" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
WARNING: "ndpi_search_iax" [/home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko] undefined!
LD [M] /home/jake/nDPI/ndpi-netfilter/src/xt_ndpi.ko
make[2]: Leaving directory /usr/src/linux-headers-2.6.32-5-amd64' rm -r ndpi_cpy make[1]: Leaving directory
/home/jake/nDPI/ndpi-netfilter/src'
is this OK?
not OK: root@debian:/home/jake/nDPI/ndpi-netfilter# modprobe xt_ndpi FATAL: Error inserting xt_ndpi (/lib/modules/2.6.32-5-amd64/extra/xt_ndpi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg output:
[ 1378.531547] xt_ndpi: Unknown symbol ndpi_search_iax [ 1378.531606] xt_ndpi: Unknown symbol ndpi_search_viber [ 1378.531649] xt_ndpi: Unknown symbol ndpi_search_icecast_tcp [ 1378.531691] xt_ndpi: Unknown symbol ndpi_search_smb_tcp [ 1378.531768] xt_ndpi: Unknown symbol ndpi_search_pptp [ 1378.531810] xt_ndpi: Unknown symbol ndpi_search_ssl_tcp [ 1378.531856] xt_ndpi: Unknown symbol ndpi_search_irc_tcp [ 1378.531928] xt_ndpi: Unknown symbol ndpi_search_skype [ 1378.531982] xt_ndpi: Unknown symbol ndpi_search_vmware [ 1378.532034] xt_ndpi: Unknown symbol ndpi_search_teamspeak [ 1378.532078] xt_ndpi: Unknown symbol ndpi_search_xdmcp [ 1378.532120] xt_ndpi: Unknown symbol ndpi_search_tvuplayer [ 1378.532194] xt_ndpi: Unknown symbol ndpi_search_mgcp [ 1378.532251] xt_ndpi: Unknown symbol ndpi_search_jabber_tcp [ 1378.532327] xt_ndpi: Unknown symbol ndpi_search_spotify [ 1378.532369] xt_ndpi: Unknown symbol ndpi_search_imesh_tcp_udp [ 1378.532414] xt_ndpi: Unknown symbol ndpi_search_halflife2 [ 1378.532471] xt_ndpi: Unknown symbol ndpi_search_stealthnet [ 1378.532523] xt_ndpi: Unknown symbol ndpi_search_world_of_kung_fu [ 1378.532566] xt_ndpi: Unknown symbol ndpi_search_netbios [ 1378.532607] xt_ndpi: Unknown symbol ndpi_search_pcanywhere [ 1378.532649] xt_ndpi: Unknown symbol ndpi_search_yahoo [ 1378.532723] xt_ndpi: Unknown symbol ndpi_search_teamview [ 1378.532811] xt_ndpi: Unknown symbol is_skype_connection [ 1378.532853] xt_ndpi: Unknown symbol ndpi_search_mms_tcp [ 1378.532894] xt_ndpi: Unknown symbol ndpi_search_kerberos [ 1378.532938] xt_ndpi: Unknown symbol ndpi_search_skinny [ 1378.532980] xt_ndpi: Unknown symbol ndpi_search_filetopia_tcp [ 1378.533056] xt_ndpi: Unknown symbol ndpi_search_lotus_notes [ 1378.533098] xt_ndpi: Unknown symbol ndpi_search_tvants_udp [ 1378.533140] xt_ndpi: Unknown symbol ndpi_search_popo_tcp_udp [ 1378.533182] xt_ndpi: Unknown symbol ndpi_search_pplive_tcp_udp [ 1378.533223] xt_ndpi: Unknown symbol ndpi_search_tor [ 1378.533265] xt_ndpi: Unknown symbol ndpi_search_msn [ 1378.533307] xt_ndpi: Unknown symbol ndpi_search_worldofwarcraft [ 1378.533349] xt_ndpi: Unknown symbol ndpi_search_h323 [ 1378.533390] xt_ndpi: Unknown symbol ndpi_search_nfs [ 1378.533442] xt_ndpi: Unknown symbol ndpi_search_meebo [ 1378.533484] xt_ndpi: Unknown symbol ndpi_search_rtp [ 1378.533534] xt_ndpi: Unknown symbol ndpi_search_mail_pop_tcp [ 1378.533577] xt_ndpi: Unknown symbol ndpi_search_kontiki [ 1378.533618] xt_ndpi: Unknown symbol ndpi_search_syslog [ 1378.533660] xt_ndpi: Unknown symbol ndpi_search_snmp [ 1378.533708] xt_ndpi: Unknown symbol ndpi_search_qq [ 1378.533761] xt_ndpi: Unknown symbol ndpi_search_usenet_tcp [ 1378.533826] xt_ndpi: Unknown symbol ndpi_search_flash [ 1378.533870] xt_ndpi: Unknown symbol ndpi_search_telnet_tcp [ 1378.533912] xt_ndpi: Unknown symbol ndpi_search_tcp_or_udp [ 1378.533977] xt_ndpi: Unknown symbol ndpi_search_openvpn [ 1378.534031] xt_ndpi: Unknown symbol ndpi_search_sopcast [ 1378.534084] xt_ndpi: Unknown symbol ndpi_search_ldap [ 1378.534125] xt_ndpi: Unknown symbol ndpi_search_noe [ 1378.534167] xt_ndpi: Unknown symbol ndpi_search_tds_tcp [ 1378.534209] xt_ndpi: Unknown symbol ndpi_search_socrates [ 1378.534251] xt_ndpi: Unknown symbol ndpi_search_steam [ 1378.534293] xt_ndpi: Unknown symbol ndpi_search_ntp_udp [ 1378.534334] xt_ndpi: Unknown symbol ndpi_search_rtcp [ 1378.534376] xt_ndpi: Unknown symbol ndpi_search_mysql_tcp [ 1378.534418] xt_ndpi: Unknown symbol ndpi_search_stun [ 1378.534459] xt_ndpi: Unknown symbol ndpi_search_activesync [ 1378.534520] xt_ndpi: Unknown symbol ndpi_search_fiesta [ 1378.534575] xt_ndpi: Unknown symbol ndpi_search_maplestory [ 1378.534616] xt_ndpi: Unknown symbol ndpi_search_xbox [ 1378.534658] xt_ndpi: Unknown symbol ndpi_search_sflow [ 1378.534700] xt_ndpi: Unknown symbol ndpi_search_winmx_tcp [ 1378.534742] xt_ndpi: Unknown symbol ndpi_search_sip [ 1378.534784] xt_ndpi: Unknown symbol ndpi_search_in_non_tcp_udp [ 1378.534825] xt_ndpi: Unknown symbol ndpi_search_whois_das [ 1378.534867] xt_ndpi: Unknown symbol ndpi_search_tftp [ 1378.534909] xt_ndpi: Unknown symbol ndpi_search_soulseek_tcp [ 1378.534951] xt_ndpi: Unknown symbol ndpi_search_ssh_tcp [ 1378.535000] xt_ndpi: Unknown symbol ndpi_search_florensia [ 1378.535054] xt_ndpi: Unknown symbol ndpi_search_openft_tcp [ 1378.535095] xt_ndpi: Unknown symbol ndpi_search_mail_imap_tcp [ 1378.535137] xt_ndpi: Unknown symbol ndpi_search_mssql [ 1378.535179] xt_ndpi: Unknown symbol ndpi_search_gtp [ 1378.535221] xt_ndpi: Unknown symbol ndpi_search_ftp_tcp [ 1378.535262] xt_ndpi: Unknown symbol ndpi_search_postgres_tcp [ 1378.535304] xt_ndpi: Unknown symbol ndpi_search_rsync [ 1378.535346] xt_ndpi: Unknown symbol ndpi_search_netflow [ 1378.535396] xt_ndpi: Unknown symbol ndpi_search_ssdp [ 1378.535434] xt_ndpi: Unknown symbol ndpi_search_warcraft3 [ 1378.535513] xt_ndpi: Unknown symbol ndpi_search_zattoo [ 1378.535552] xt_ndpi: Unknown symbol ndpi_search_guildwars_tcp [ 1378.535591] xt_ndpi: Unknown symbol ndpi_search_thunder [ 1378.535659] xt_ndpi: Unknown symbol ndpi_search_vnc_tcp [ 1378.535698] xt_ndpi: Unknown symbol ndpi_search_mdns [ 1378.535739] xt_ndpi: Unknown symbol ndpi_search_veohtv_tcp [ 1378.535778] xt_ndpi: Unknown symbol ndpi_search_oscar [ 1378.535817] xt_ndpi: Unknown symbol ndpi_search_quake [ 1378.535856] xt_ndpi: Unknown symbol ndpi_search_rdp [ 1378.535895] xt_ndpi: Unknown symbol ndpi_search_http_tcp [ 1378.535934] xt_ndpi: Unknown symbol ndpi_search_shoutcast_tcp [ 1378.535970] xt_ndpi: Unknown symbol ndpi_search_radius [ 1378.535970] xt_ndpi: Unknown symbol ndpi_search_ipp [ 1378.535970] xt_ndpi: Unknown symbol ndpi_search_mail_smtp_tcp [ 1378.535970] xt_ndpi: Unknown symbol ndpi_search_oracle [ 1378.535982] xt_ndpi: Unknown symbol ndpi_search_gnutella [ 1378.536040] xt_ndpi: Unknown symbol ndpi_search_ppstream
Any suggestions?
I try to build ndpi-netfilter with latest nDPI from ntop.org and it fails just like this:
root@debian:/home/jake/nDPI/ndpi-netfilter# LANG=C NDPI_PATH=/home/jake/nDPI make make -C ipt make[1]: Entering directory
/home/jake/nDPI/ndpi-netfilter/ipt' if test -d ndpi_cpy; then \ cp /home/jake/nDPI/src/* ndpi_cpy -R; \ else \ mkdir ndpi_cpy; \ cp /home/jake/nDPI/src/* ndpi_cpy -R; \ fi make libxt_ndpi.so make[2]: Entering directory
/home/jake/nDPI/ndpi-netfilter/ipt' make[2]:libxt_ndpi.so' is up to date. make[2]: Leaving directory
/home/jake/nDPI/ndpi-netfilter/ipt' rm -r ndpi_cpy make[1]: Leaving directory/home/jake/nDPI/ndpi-netfilter/ipt' make -C src make[1]: Entering directory
/home/jake/nDPI/ndpi-netfilter/src' if test -d ndpi_cpy; then \ cp /home/jake/nDPI/src/* ndpi_cpy -R; \ else \ mkdir ndpi_cpy; \ cp /home/jake/nDPI/src/* ndpi_cpy -R; \ fi make -C /lib/modules/2.6.32-5-amd64/build M=$PWD; make[2]: Entering directory/usr/src/linux-headers-2.6.32-5-amd64' CC [M] /home/jake/nDPI/ndpi-netfilter/src/main.o /home/jake/nDPI/ndpi-netfilter/src/main.c: In function 'ndpi_mt_check': /home/jake/nDPI/ndpi-netfilter/src/main.c:571: error: implicit declaration of function 'NDPI_BITMASK_IS_ZERO' make[5]: *** [/home/jake/nDPI/ndpi-netfilter/src/main.o] Error 1 make[4]: *** [_module_/home/jake/nDPI/ndpi-netfilter/src] Error 2 make[3]: *** [sub-make] Error 2 make[2]: *** [all] Error 2 make[2]: Leaving directory
/usr/src/linux-headers-2.6.32-5-amd64' make[1]: * [all] Error 2 make[1]: Leaving directory `/home/jake/nDPI/ndpi-netfilter/src' make: * [all] Error 2how can I fix this?