Comments (3)
Hi Vitaly @vel21ripn
Just to add more details. I just tested it once again with Debian 12. It seems that nDPI is incompatible with Iptables v1.8.9.
It complains that No pkg-config --variable=xtlibdir xtables.
admin@server:~/nDPI/ndpi-netfilter$ make
make -C ipt
make[1]: Entering directory '/home/admin/nDPI/ndpi-netfilter/ipt'
Makefile:10: *** No pkg-config --variable=xtlibdir xtables. Stop.
make[1]: Leaving directory '/home/admin/nDPI/ndpi-netfilter/ipt'
make: *** [Makefile:2: all] Error 2
This works all fine with Debian 11. It should be the same issue with latest Ubuntu, as Ubuntu is based on Debian.
Do you think you could kindly provide a fix for this?
Debian 11 is slowly getting deprecated.
Thank you,
Houman
from ndpi.
A bit more details:
Even though xtables is installed, pkg-config can't find it.
admin@server: sudo apt install xtables-addons-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xtables-addons-common is already the newest version (3.23-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pkg-config --variable=xtlibdir xtables
shows nothing.
from ndpi.
Great news. It seems on Debian 12 we need to explicitly install:
sudo apt install libxtables-dev
Now it works. Yeeees!
There is only a small warning, not sure if this matters much:
Warning: modules_install: missing 'System.map' file. Skipping depmod.
admin@server:~/nDPI/ndpi-netfilter$ sudo make modules_install
make -C src modules_install
make[1]: Entering directory '/home/admin/nDPI/ndpi-netfilter/src'
make -C /lib/modules/6.1.0-12-amd64/build M=$PWD modules_install;
make[2]: Entering directory '/usr/src/linux-headers-6.1.0-12-amd64'
INSTALL /lib/modules/6.1.0-12-amd64/extra/xt_ndpi.ko
DEPMOD /lib/modules/6.1.0-12-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[2]: Leaving directory '/usr/src/linux-headers-6.1.0-12-amd64'
if [ "" != "true" ]; then depmod -a; fi
make[1]: Leaving directory '/home/admin/nDPI/ndpi-netfilter/src'
from ndpi.
Related Issues (20)
- Typo in main.c (acctounting instead of accounting) HOT 1
- Linux 6.6: build errors HOT 10
- Kernel panic when syncing conntrack entries with conntrackd HOT 5
- All defined host protocols match risk id 27 (Risky Domain Name) HOT 7
- bittorrent.c: detected write beyond size of field HOT 1
- ndpi_network_list.c.inc can no longer be compiled after merge HOT 2
- Question about echo command HOT 1
- Seeking Advice on Updating nDPI on VPS Servers HOT 1
- unresolved symbol __aarch64_ldadd8_sync on aarch64 HOT 4
- Inconsistent BitTorrent Filtering with nDPI HOT 4
- Handling large host_proto lists HOT 2
- Linux 6.7: build error HOT 6
- Please help filter iptables DNAT traffic
- iptables 1.8.10 causes ksoftirqd 100% CPU HOT 5
- /root/nDPI/ndpi-netfilter/src/../../src/lib/ndpi_main.c:1040:5: error: �for� loop initial declarations are only allowed in C99 or C11 mode
- Error compiling kernel modules under arm32 bit HOT 5
- host_proto wildcard options. HOT 2
- Compile error message HOT 10
- Compile error about /src/lib/ndpi_network_list_compile.h HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ndpi.