Package Details: ipt_ndpi 1.2_4.9.0.4970.61f4d586c-1

Git Clone URL: https://aur.archlinux.org/ipt_ndpi.git (read-only, click to copy)
Package Base: ipt_ndpi
Description: nDPI as netfilter extension.
Upstream URL: https://github.com/vel21ripn/nDPI
Licenses: GPL
Submitter: k0ste
Maintainer: k0ste
Last Packager: k0ste
Votes: 1
Popularity: 0.000000
First Submitted: 2016-01-30 09:42 (UTC)
Last Updated: 2024-03-06 10:23 (UTC)

Required by (0)

Sources (1)

Latest Comments

cbhihe commented on 2024-11-01 18:41 (UTC) (edited on 2024-11-03 14:12 (UTC) by cbhihe)

The package does not build on Arch linux kernel "6.11.5-arch1-1 #1 SMP PREEMPT DYNAMIC".

First error after > makepkg -sric in locally cloned repo is:

==> Starting build()...                                                                                                                                                                                                                        
make -C ipt                                                                                                                                                                                                                                    
make[1]: Entering directory '/var/builds/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/ipt'                                                                                                                                                             
make[1]: Nothing to be done for 'all'.                                                                                                                                                                                                         
make[1]: Leaving directory '/var/builds/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/ipt'                                                                                                                                                              
make -C src                                                                                                                                                                                                                                    
make[1]: Entering directory '/var/builds/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src'                                                                                                                                                             
$xt_ndpi-y is [main.o ndpi_strcol.o ndpi_proc_parsers.o ndpi_proc_generic.o ndpi_proc_info.o  ndpi_proc_flow.o ndpi_proc_hostdef.o ndpi_proc_ipdef.o ../libre/regexp.o ../../src/lib/third_party/src/ndpi_md5.o ../../src/lib/third_party/src/n
dpi_sha1.o ../../src/lib/third_party/src/ndpi_sha256.o ../../src/lib/third_party/src/aes.o ../../src/lib/third_party/src/ahocorasick.o ../../src/lib/third_party/src/libcache.o ../../src/lib/third_party/src/ndpi_patricia.o ../../src/lib/thi
rd_party/src/gcrypt_light.o ../../src/lib/third_party/src/btlib.o ../../src/lib/third_party/src/hll/MurmurHash3.o ../../src/lib/ndpi_main.o ../../src/lib/ndpi_memory.o ../../src/lib/ndpi_utils.o ../../src/lib/ndpi_serializer.o ../../src/li
b/ndpi_geoip.o ../../src/lib/ndpi_hash.o ../../src/lib/ndpi_analyze.o ../../src/lib/ndpi_cache.o ../../src/lib/protocols/*.o] -I/../../src/include -I/../../src/lib -I/../libre -I/../../src/lib/third_party/include  -DHAVE_CONFIG_H -DNDPI_LI
B_COMPILATION -DOPENDPI_NETFILTER_MODULE -DNDPI_DETECTION_SUPPORT_IPV6 -g -Wno-declaration-after-statement -femit-struct-debug-detailed=any                                                                                                    
\                                                                                                                                                                                                                                              
make  -C /usr/lib/modules/6.11.5-arch1-1/build M=$PWD modules ;                                                                                                                                                                                
make[2]: Entering directory '/usr/lib/modules/6.11.5-arch1-1/build'                                                                                                                                                                            
  CC [M]  /var/builds/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/main.o                                                                                                                                                                          
/var/builds/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/main.c:125:2: error: #error "CONFIG_LIVEPATCH not enabled"                                                                                                                                
  125 | #error "CONFIG_LIVEPATCH not enabled"                                                                                                                                                                                                  
      |  ^~~~~

Rebuilding the kernel with live-patching enabled is not an option. Can the ipt_ndpi source code accommodate some patching to remove its reliance on CONFIG_LIVEPATCH ? If not, and if I'm not mistaken about this, at least notice should be given to prospective users, that a custom-build kernel is needed for this AUR package.