vel21ripn / nDPI

Open Source Deep Packet Inspection Software Toolkit
http://www.ntop.org
GNU Lesser General Public License v3.0
121 stars 59 forks source link

ndpi-netfilter 2.2 ( 2.3-dev ) #35

Closed vel21ripn closed 5 years ago

vel21ripn commented 6 years ago

The Netfilter-2.2 branch is available for testing. Known issues: Bittorrent detects significantly less traffic than netfilter-1.7

elico commented 6 years ago

@vel21ripn Detects less as a regression or since it was a false positive detection in 1.7?

vel21ripn commented 6 years ago

There are significantly fewer DHT packets detected. These packets can not be detected erroneously.

elico commented 6 years ago

@vel21ripn Well we will need to work with what we have and if this is what it is then it is. I will have more CPU time in couple weeks so if no one will run some tests until then I will try to run some.

k0ste commented 6 years ago

There are significantly fewer DHT packets detected. These packets can not be detected erroneously.

This is a ndpi upstream problem or another reason?

vel21ripn commented 6 years ago

Problem with BT is repaired. Testing ( x86_64 kernel 4.14.28 with patch) during the week did not reveal problems.

k0ste commented 6 years ago

Problem with BT is repaired. Testing ( x86_64 kernel 4.14.28 with patch) during the week did not reveal problems.

I'm now on 2.3.0-1164-c562e17 for a five days with patched 4.15.15. Should I switch to b0cf474844c57f2115af6cf61b13afeb4473e24d for better testing approach?

vel21ripn commented 6 years ago

Yes.

elico commented 6 years ago

@vel21ripn Ubnutu 18.04 just got out so this is my next target since Debian 9 seems to work fine with both the netfilter and netfilter-2.2 branches.

k0ste commented 6 years ago

I'm test it for a month on 4.15.18. No issues found.

msanaii commented 6 years ago

I get this error during make of ndpi-netfilter:

CC [M] /root/nDPI-netfilter-2.2/ndpi-netfilter/src/main.o /root/nDPI-netfilter-2.2/ndpi-netfilter/src/main.c: In function ‘ndpi_net_init’: /root/nDPI-netfilter-2.2/ndpi-netfilter/src/main.c:3120:18: error: passing argument 1 of ‘set_ndpi_malloc’ from incompatible pointer type [-Werror=incompatible-pointer-types] set_ndpi_malloc(malloc_wrapper); ^~~~~~ In file included from /root/nDPI-netfilter-2.2/ndpi-netfilter/src/../../src/include/ndpi_main.h:32:0, from /root/nDPI-netfilter-2.2/ndpi-netfilter/src/main.c:48: /root/nDPI-netfilter-2.2/ndpi-netfilter/src/../../src/include/ndpi_api.h:754:8: note: expected ‘void ()(size_t) {aka void ()(unsigned int)}’ but argument is of type ‘void ()(long unsigned int)’ void set_ndpi_malloc(void (__ndpi_malloc)(size_t size));

and this error during the make of dpi_network_list.c.inc:

depbase=echo ndpi_network_list_compile.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ gcc -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/include/ -I../../src/lib/third_party/include/ -g -O2 -fPIC -DPIC -MT ndpi_network_list_compile.o -MD -MP -MF $depbase.Tpo -c -o ndpi_network_list_compile.o ndpi_network_list_compile.c &&\ mv -f $depbase.Tpo $depbase.Po ndpi_network_list_compile.c:303:7: error: conflicting types for ‘ndpi_calloc’ void ndpi_calloc(size_t nmemb, size_t size) { ^~~ In file included from ndpi_network_list_compile.c:10:0: ../../src/include/ndpi_api.h:760:10: note: previous declaration of ‘ndpi_calloc’ was here void ndpi_calloc(unsigned long count, size_t size); ^~~ Makefile:1248: recipe for target 'ndpi_network_list_compile.o' failed make: *** [ndpi_network_list_compile.o] Error 1

OS is Raspbian 9

vel21ripn commented 6 years ago

@msanaii What compiler do you use (gcc / clang) and which version? Platform 32 or 64 bit? Try to apply this patch.

diff --git a/ndpi-netfilter/src/main.c b/ndpi-netfilter/src/main.c
index b8a2d5a..98906b4 100644
--- a/ndpi-netfilter/src/main.c
+++ b/ndpi-netfilter/src/main.c
@@ -550,7 +550,7 @@ if(c->strings) {
 return 1;
 }

-static void *malloc_wrapper(unsigned long size)
+static void *malloc_wrapper(size_t size)
 {
        return kmalloc(size, GFP_KERNEL);
 }
diff --git a/src/lib/ndpi_network_list_compile.c b/src/lib/ndpi_network_list_compile.c
index 6db9d4a..3c3c9a1 100644
--- a/src/lib/ndpi_network_list_compile.c
+++ b/src/lib/ndpi_network_list_compile.c
@@ -300,8 +300,8 @@ return NDPI_PROTOCOL_UNKNOWN;
 }

 /* for patricia */
-void *ndpi_calloc(size_t nmemb, size_t size) {
-       return calloc(nmemb,size);
+void *ndpi_calloc(unsigned long int nmemb, size_t size) {
+       return calloc((size_t)nmemb,size);
 }
 void ndpi_free(void *buf) {
        free(buf);
msanaii commented 6 years ago

my gcc is gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1) on armv7l (Raspberry Pi 3 B+) CPU is BCM2837B0, Cortex-A53 (ARMv8) 64-bit SoC and OS is 32 Bit

so now both compile correctly, however, compile of ndpi_network_list.c.inc has some strange warnings:

./ndpi_network_list_compile -o ndpi_network_list.c.inc ndpi_network_list_std.yaml ndpi_network_list_tor.yaml Warning: line 78: '52.82.0.0/14' is not network Warning: line 716: '208.64.201.0/22' is not network Warning: line 722: '159.122.189.48/21' is not network Warning: line 837: '169.63.76.17/25' is not network Warning: line 838: '169.63.73.64/25' is not network Warning: line 843: '185.60.218.53/27' is not network

thank you for helping

vel21ripn commented 6 years ago

gcc 6.3 is more stringent than previous versions.

52.82.0.0/14 is not network. 52.80.0.0/14 is network. This is just a warning.

vel21ripn commented 6 years ago

It is highly advisable to upgrade to commit https://github.com/vel21ripn/nDPI/commit/5bcfd49b425732a6a2fbc94257df49e4964d4174 Several serious bugs fixed.

k0ste commented 6 years ago

Minor gcc warnings:

gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

depbase=`echo ndpi_network_list_compile.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\                                                                      
gcc -DHAVE_CONFIG_H -I. -I../../src/include  -I../../src/include/  -I../../src/lib/third_party/include/   -g -O2 -I/usr/include/json-c  -fPIC -DPIC -D
NDPI_LIB_COMPILATION  -MT ndpi_network_list_compile.o -MD -MP -MF $depbase.Tpo -c -o ndpi_network_list_compile.o ndpi_network_list_compile.c &&\     
mv -f $depbase.Tpo $depbase.Po                                                                                                                       
ndpi_network_list_compile.c: In function ‘main’:                                                                                                     
ndpi_network_list_compile.c:309:5: warning: ‘strncat’ specified bound 512 equals destination size [-Wstringop-overflow=]                             
     strncat(pnl->comments,wordarg,sizeof(pnl->comments));                                                                                           
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                            
ndpi_network_list_compile.c:370:4: warning: ‘strncat’ specified bound 512 equals destination size [-Wstringop-overflow=]                             
    strncat(pnl->comments,word,sizeof(pnl->comments));                                                                                               
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -I/usr/include/json-c  -fPIC -DPIC -DNDPI_LIB_COMPILATION   -ljson-c  -o ndpi_network_list_c
ompile ndpi_network_list_compile.o                                                                                                                   
libtool: link: gcc -g -O2 -I/usr/include/json-c -fPIC -DPIC -DNDPI_LIB_COMPILATION -o ndpi_network_list_compile ndpi_network_list_compile.o  -ljson-c
./ndpi_network_list_compile -o ndpi_network_list.c.inc ndpi_network_list_std.yaml ndpi_network_list_tor.yaml                                         
Warning: line   78: '52.82.0.0/14' is not network                                                                                                    
Warning: line  423: '141.101.88.0/19' is not network                                                                                                 
Warning: line  622: '209.148.214.135/21' is not network                                                                                              
Warning: line  730: '208.64.201.0/22' is not network                                                                                                 
Warning: line  736: '159.122.189.48/21' is not network                                                                                               
Warning: line  809: '1.44.48.64/23' is not network                                                                                                   
Warning: line  810: '1.44.69.80/25' is not network                                                                                                   
Warning: line  811: '2.46.138.52/28' is not network                                                                                                  
Warning: line  812: '2.47.103.32/23' is not network                                                                                                  
Warning: line  866: '169.55.60.170/27' is not network                                                                                                
Warning: line  868: '169.63.76.17/25' is not network                                                                                                 
Warning: line  869: '169.63.73.64/25' is not network                                                                                                 
Warning: line  874: '185.60.218.53/27' is not network                          
==> Starting build()...
make -C ipt                                                                                                                   
make[1]: Entering directory '/srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/ipt'           
cc -fPIC -I../.. -I../../src/include -I../../src/lib -I../src -I../libre -DOPENDPI_NETFILTER_MODULE -O2 -Wall -D_INIT=libxt_ndpi_init -c -o libxt_ndpi.o libxt_ndpi.c;
cc -shared -o libxt_ndpi.so libxt_ndpi.o;                                                                                
rm libxt_ndpi.o                                                                                                                
make[1]: Leaving directory '/srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/ipt'             
make -C src                                                                                                                             
make[1]: Entering directory '/srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src'              
make  -C /usr/lib/modules/4.17.12-arch1-1-ARCH/build M=$PWD modules -w;                                                   
make[2]: Entering directory '/usr/lib/modules/4.17.12-arch1-1-ARCH/build'                                                 
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/main.o                      
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/third_party/src/node.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/third_party/src/ahocorasick.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/third_party/src/libcache.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/ndpi_main.o       
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/afp.o  
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ajp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/aimini.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/amqp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/applejuice.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/apple_push.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/armagetron.o             
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ayiya.o              
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/battlefield.o       
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/bgp.o                             
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/bittorrent.o                                                                          
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/bjnp.o                                                          
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/checkmk.o                                                
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/citrix.o                                                                              
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ciscovpn.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/coap.o           
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/collectd.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/corba.o  
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/crossfire.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/csgo.o     
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/dcerpc.o    
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/diameter.o       
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/dhcp.o    
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/dhcpv6.o 
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/directconnect.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/directdownloadlink.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/dns.o        
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/dofus.o    
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/drda.o    
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/dropbox.o                                                                                                                                                                         
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/eaq.o       
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/edonkey.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/fasttrack.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/fbzero.o 
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/fiesta.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/fix.o      
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/florensia.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ftp_control.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ftp_data.o                                                          
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/git.o                            
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/gnutella.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/gtp.o     
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/guildwars.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/h323.o       
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/halflife2_and_mods.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/hangout.o         
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/hep.o              
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/http.o  
In file included from ./include/linux/bitmap.h:9,                                                                          
                 from ./include/linux/cpumask.h:12,                                                                        
                 from ./arch/x86/include/asm/cpumask.h:5,                                                                   
                 from ./arch/x86/include/asm/msr.h:11,                                                                          
                 from ./arch/x86/include/asm/processor.h:21,                                                                  
                 from ./arch/x86/include/asm/cpufeature.h:5,                                                                
                 from ./arch/x86/include/asm/thread_info.h:53,                                                                
                 from ./include/linux/thread_info.h:38,                                                                   
                 from ./arch/x86/include/asm/preempt.h:7,                                                               
                 from ./include/linux/preempt.h:81,                                                                       
                 from ./include/linux/spinlock.h:51,                                                                                                                  
                 from /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/include/ndpi_includes.h:75,
                 from /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/include/ndpi_main.h:29,
                 from /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/include/ndpi_api.h:28,
                 from /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/http.c:30:
In function ‘strncpy’,                                                                                                    
    inlined from ‘check_content_type_and_change_protocol’ at /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/http.c:237:2:
./include/linux/string.h:246:9: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation]
  return __builtin_strncpy(p, q, size);                                                                                 
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                          
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/http_activesync.o  
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/iax.o           
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/icecast.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ipp.o  
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/irc.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/jabber.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/kakaotalk_voice.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/kerberos.o  
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/kontiki.o   
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ldap.o      
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/lisp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/lotus_notes.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/mail_imap.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/mail_pop.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/mail_smtp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/maplestory.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/mdns.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/mgcp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/mpegts.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/mqtt.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/msn.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/mssql_tds.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/mysql.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/netbios.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/netflow.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/nfs.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/nintendo.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/noe.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/non_tcp_udp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ntp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/openft.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/openvpn.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/oracle.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/oscar.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/pando.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/megaco.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/pcanywhere.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/postgres.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/pplive.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ppstream.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/pptp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/qq.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/quic.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/radius.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/rdp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/redis_net.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/rsync.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/rtp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/rtcp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/rtmp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/rtsp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/rx.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/sflow.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/shoutcast.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/sip.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/skinny.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/skype.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/smb.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/smpp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/snmp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/socks45.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/someip.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/sopcast.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/soulseek.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/spotify.o
/srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/spotify.c: In function ‘ndpi_check_spotify’:
/srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/spotify.c:102:76: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
           || ((ntohl(packet->iph->saddr) & 0xFFFFFC00 /* 255.255.252.0 */) == 0xC284A200 /* 194.132.162.0 */)
                                                                            ^~
/srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/spotify.c:103:76: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
           || ((ntohl(packet->iph->daddr) & 0xFFFFFC00 /* 255.255.252.0 */) == 0xC284A200 /* 194.132.162.0 */)
                                                                            ^~
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ssdp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ssh.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ssl.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/starcraft.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/stealthnet.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/steam.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/stun.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/syslog.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/teamviewer.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/teamspeak.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/telnet.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/telegram.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/teredo.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/tftp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/thunder.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/tinc.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/tor.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/tcp_udp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/tvants.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/tvuplayer.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/ubntac2.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/usenet.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/vhua.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/viber.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/vmware.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/vnc.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/whatsapp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/warcraft3.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/whoisdas.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/world_of_kung_fu.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/world_of_warcraft.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/xbox.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/xdmcp.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/yahoo.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/zattoo.o
  CC [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/../../src/lib/protocols/zeromq.o
  LD [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/xt_ndpi.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/xt_ndpi.mod.o
  LD [M]  /srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/xt_ndpi.ko
make[2]: Leaving directory '/usr/lib/modules/4.17.12-arch1-1-ARCH/build'
make[1]: Leaving directory '/srv/raid/filez/builder/PACKAGES/4.17.13/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src'